aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/app_settings/shaders/class3/deferred/luminanceF.glsl
blob: 0de0d11b25a862918c0b4c740fe2575d1f98ef00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** 
 * @file luminanceF.glsl
 *
 * Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

uniform sampler2DRect diffuseMap;

varying vec2 vary_fragcoord;
uniform float fade;
void main() 
{
	gl_FragColor.rgb = texture2DRect(diffuseMap, vary_fragcoord.xy).rgb;
	gl_FragColor.a = fade;
}