- Timestamp:
- 07/09/09 10:21:25 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r3373 r3375 547 547 pixelValid = 100.0f; 548 548 } 549 else if ( (cosAngle >= 0) &&(distanceDiff > 1e-3f))549 else if (/*(cosAngle >= 0) && */(distanceDiff > 1e-3f)) 550 550 { 551 551 pixelValid = 5.0f; 552 //pixelValid = 100.0f; 552 553 } 553 554 } … … 732 733 if (ao.y > partlyResetThres) 733 734 { 734 const float factor = 2.0f;735 const float factor = 3.0f; 735 736 736 737 oldWeight = min(oldWeight, factor * NUM_SAMPLES);
Note: See TracChangeset
for help on using the changeset viewer.