Changeset 3348


Ignore:
Timestamp:
04/13/09 21:48:48 (16 years ago)
Author:
mattausch
Message:

saving then changing back to 2 targets

File:
1 edited

Legend:

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

    r3347 r3348  
    585585                else if (ao.y > partlyResetThres) 
    586586                { 
    587                         if (oldIdx > 4.0f * NUM_SAMPLES) oldIdx = 0; 
    588                         //oldWeight = min(oldWeight, 4.0f * NUM_SAMPLES); oldIdx = oldWeight; 
    589                         oldWeight = oldIdx;//.0f; oldIdx = .0f; 
     587                        //if (oldIdx > 4.0f * NUM_SAMPLES) oldIdx = 0; 
     588                        oldWeight = min(oldWeight, 4.0f * NUM_SAMPLES); oldIdx = oldWeight; 
     589                        //oldWeight = oldIdx;//.0f; oldIdx = .0f; 
    590590                } 
    591591        } 
Note: See TracChangeset for help on using the changeset viewer.