Ignore:
Timestamp:
04/29/09 18:10:02 (15 years ago)
Author:
mattausch
Message:

completely changing concept: storing world space position for one lookup!!

File:
1 edited

Legend:

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

    r3364 r3365  
    312312                          (oldEyeSpaceDepth < DEPTH_THRESHOLD) && (projectedEyeSpaceDepth < DEPTH_THRESHOLD) && 
    313313                          //(oldDynamic || newDynamic) &&  // check if we have a dynamic object  
    314                           (depthDif > 5e-3f)))//MIN_DEPTH_DIFF))) 
     314                          (depthDif > 5e-2f)))//MIN_DEPTH_DIFF))) 
    315315                          ) // and there is a depth discontinuity 
    316316        {        
     
    322322        } 
    323323         
    324         isPixelValid = depthDif; 
     324        //isPixelValid = depthDif; 
    325325 
    326326        return float2(isPixelValid, abs(oldEyeSpaceDepth - projectedEyeSpaceDepth)); 
Note: See TracChangeset for help on using the changeset viewer.