source:
code/branches/tutorial/Tutorial/Media/materials/programs/Combine_fp.cg
@
134
| Last change on this file since 134 was 25, checked in by nicolasc, 18 years ago | |
|---|---|
| File size: 291 bytes | |
| Line | |
|---|---|
| 1 | float4 Combine_fp |
| 2 | ( |
| 3 | in float2 texCoord: TEXCOORD0, |
| 4 | |
| 5 | uniform sampler RT : register(s0), |
| 6 | uniform sampler Sum : register(s1), |
| 7 | |
| 8 | uniform float blur |
| 9 | ) : COLOR |
| 10 | { |
| 11 | float4 render = tex2D(RT, texCoord); |
| 12 | float4 sum = tex2D(Sum, texCoord); |
| 13 | |
| 14 | return lerp(render, sum, blur); |
| 15 | } |
Note: See TracBrowser
for help on using the repository browser.










