Ignore:
Timestamp:
04/24/09 18:00:06 (15 years ago)
Author:
mattausch
Message:

cleaned up algorithm

File:
1 edited

Legend:

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

    r3361 r3362  
    307307        else if ( // check if changed from dynamic to not dynamic object 
    308308                 ( 
    309                           (oldDynamic && !newDynamic) || (!oldDynamic && newDynamic) || 
     309                         // (oldDynamic && !newDynamic) || (!oldDynamic && newDynamic) || 
    310310                         ( 
    311311                          (oldEyeSpaceDepth < DEPTH_THRESHOLD) && (projectedEyeSpaceDepth < DEPTH_THRESHOLD) && 
    312                           (oldDynamic || newDynamic) &&  // check if we have a dynamic object  
    313                           (depthDif > MIN_DEPTH_DIFF))) 
     312                          //(oldDynamic || newDynamic) &&  // check if we have a dynamic object  
     313                          (depthDif > 5e-3f)))//MIN_DEPTH_DIFF))) 
    314314                          ) // and there is a depth discontinuity 
    315315        {        
Note: See TracChangeset for help on using the changeset viewer.