summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/interface/glowcombineF.glsl
blob: a60fb1eaa7d54edbf4bbb4c3a7af51393f6f6c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/** 
 * @file glowcombineF.glsl
 *
 * $LicenseInfo:firstyear=2007&license=viewerlgpl$
 * $/LicenseInfo$
 */
 
#extension GL_ARB_texture_rectangle : enable

uniform sampler2D glowMap;
uniform sampler2DRect screenMap;

void main() 
{
	gl_FragColor = texture2D(glowMap, gl_TexCoord[0].xy) +
					texture2DRect(screenMap, gl_TexCoord[1].xy);
}