source:
code/branches/tutorial/Tutorial/Media/materials/programs/InvertFP.cg
@
25
Last change on this file since 25 was 25, checked in by nicolasc, 17 years ago | |
---|---|
File size: 122 bytes |
Rev | Line | |
---|---|---|
[25] | 1 | sampler RT : register(s0); |
2 | ||
3 | float4 Invert_ps (float2 iTexCoord : TEXCOORD0) : COLOR | |
4 | { | |
5 | return 1 - tex2D(RT, iTexCoord); | |
6 | } |
Note: See TracBrowser
for help on using the repository browser.