source:
data/tags/0.0.5/programs/InvertFP.cg
@
9720
Last change on this file since 9720 was 7708, checked in by dafrick, 14 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.