source:
data/trunk/programs/InvertFP.cg
@
8474
Last change on this file since 8474 was 7708, checked in by dafrick, 14 years ago | |
---|---|
|
|
File size: 122 bytes |
Rev | Line | |
---|---|---|
[5312] | 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.