summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/effects/simpleF.glsl
blob: 98a50e22fc441d72aff3a2e87a77470bc1acc70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * @file simpleF.glsl
 *
 * $LicenseInfo:firstyear=2007&license=viewerlgpl$
 * $/LicenseInfo$
 */
 
#version 120

uniform sampler2DRect RenderTexture;

void main(void) 
{
	vec3 color = vec3(texture2DRect(RenderTexture, gl_TexCoord[0].st));
	gl_FragColor = vec4(1.0 - color, 1.0);
}