Ignore:
Timestamp:
08/25/08 20:20:42 (16 years ago)
Author:
mattausch
Message:

bug: downsampling of positions does not work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/antialiasing.cg

    r2865 r2866  
    3131 
    3232        nd -= e_barrier.x; 
    33         nd = step(0, nd); 
     33        nd = step(0.0f, nd); 
    3434 
    3535        float ne = saturate(dot(nd, e_weights.x)); 
     
    6464 
    6565        dd = abs(2.0f * dc - dd) - e_barrier.y; 
    66         dd = step(dd, 0); 
     66        dd = step(dd, 0.0f); 
     67 
    6768        float de = saturate(dot(dd, e_weights.y)); 
    6869 
Note: See TracChangeset for help on using the changeset viewer.