Ignore:
Timestamp:
01/10/07 18:20:53 (17 years ago)
Author:
mattausch
Message:

worked on global lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/depth_peelingRect.cg

    r1950 r1964  
    22float3 main(in float4 col : COL0, 
    33            in float3 pos : WPOS, 
     4            uniform float stepSize, 
    45            uniform samplerRect depthTex) : COLOR 
    56{ 
    67   float zold = texRect(depthTex, pos.xy); 
    78 
    8    if(pos.z < (zold + 0.1)) 
     9   if(pos.z < (zold + stepSize)) 
    910      discard; 
    1011   else; 
Note: See TracChangeset for help on using the changeset viewer.