Blender V2.61 - r43446
Variables

RAS_Invert2DFilter.h File Reference

Go to the source code of this file.

Variables

const char * InvertFragmentShader

Detailed Description

Definition in file RAS_Invert2DFilter.h.


Variable Documentation

const char* InvertFragmentShader
Initial value:
STRINGIFY(
uniform sampler2D bgl_RenderedTexture;

void main(void)
{
    vec4 texcolor = texture2D(bgl_RenderedTexture, gl_TexCoord[0].st);
    gl_FragColor.rgb = 1.0 - texcolor.rgb;
    gl_FragColor.a = texcolor.a;
}
)

Definition at line 35 of file RAS_Invert2DFilter.h.