source:
data/data_extern/programs/Cg/InvertFP.cg
@
12373
Last change on this file since 12373 was 12115, checked in by wiesep, 6 years ago | |
---|---|
File size: 147 bytes |
Line | |
---|---|
1 | sampler2D RT : register(s0); |
2 | |
3 | float4 Invert_ps (float4 pos : POSITION, float2 iTexCoord : TEXCOORD0) : COLOR |
4 | { |
5 | return 1 - tex2D(RT, iTexCoord); |
6 | } |
Note: See TracBrowser
for help on using the repository browser.