Changeset 1964 for GTP/trunk/Lib/Vis/Preprocessing/src/depth_peelingRect.cg
- Timestamp:
- 01/10/07 18:20:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/depth_peelingRect.cg
r1950 r1964 2 2 float3 main(in float4 col : COL0, 3 3 in float3 pos : WPOS, 4 uniform float stepSize, 4 5 uniform samplerRect depthTex) : COLOR 5 6 { 6 7 float zold = texRect(depthTex, pos.xy); 7 8 8 if(pos.z < (zold + 0.1))9 if(pos.z < (zold + stepSize)) 9 10 discard; 10 11 else;
Note: See TracChangeset
for help on using the changeset viewer.