Ignore:
Timestamp:
11/10/08 10:10:50 (16 years ago)
Author:
mattausch
Message:

worked on dynamic objects: now ook, but have to work on render queue

File:
1 edited

Legend:

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

    r3113 r3114  
    110110        const float projectedEyeSpaceDepth = length(translatedPos) * invlen; 
    111111         
    112         float depthDif = (abs(eyeSpaceDepth - sampleEyeSpaceDepth) > 5.0f) ? 0 : abs(oldEyeSpaceDepth - projectedEyeSpaceDepth); 
     112        float depthDif = (abs(eyeSpaceDepth - sampleEyeSpaceDepth) > 5.0f) ?  
     113                0 : abs(oldEyeSpaceDepth - projectedEyeSpaceDepth); 
    113114 
    114115        return depthDif; 
Note: See TracChangeset for help on using the changeset viewer.