Changeset 3348
- Timestamp:
- 04/13/09 21:48:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r3347 r3348 585 585 else if (ao.y > partlyResetThres) 586 586 { 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; 590 590 } 591 591 }
Note: See TracChangeset
for help on using the changeset viewer.