Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/png/materials/programs/InvertFP.cg @ 7016

Last change on this file since 7016 was 5312, checked in by landauf, 16 years ago

added shaders (compositors, materials, cg programs and textures)

  • Property svn:eol-style set to native
File size: 122 bytes
Line 
1sampler RT : register(s0);
2
3float4 Invert_ps (float2 iTexCoord : TEXCOORD0) : COLOR
4{
5        return 1 - tex2D(RT, iTexCoord);
6}
Note: See TracBrowser for help on using the repository browser.