Ignore:
Timestamp:
01/15/06 04:23:51 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/dual_depth.cg

    r532 r540  
    1515{ 
    1616        pixel OUT; 
    17  
     17        OUT.color = IN.color0; 
     18         
    1819        // the depth buffer     has to be compared to the current depth 
    1920        float4 depth = tex2D(depthMap, IN.depthTexCoord.xy); 
     
    2223        // reject by alpha test 
    2324        if (test < depth.x) 
     25        { 
    2426                OUT.color.w = 0; 
    25  
     27        //      OUT.color.y += 0.5; 
     28        } 
     29         
    2630        return OUT; 
    2731} 
Note: See TracChangeset for help on using the changeset viewer.