source:
data/branches/png/materials/programs/InvertFP.cg
@
6067
Last change on this file since 6067 was 5312, checked in by landauf, 16 years ago | |
---|---|
|
|
File size: 122 bytes |
Line | |
---|---|
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.