blob: e55d278b81fb9d619a1052165d86cb62359a0ddc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/**
* @file simpleF.glsl
*
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
uniform sampler2DRect RenderTexture;
void main(void)
{
vec3 color = vec3(texture2DRect(RenderTexture, gl_TexCoord[0].st));
gl_FragColor = vec4(1.0 - color, 1.0);
}
|