Changeset 3140
- Timestamp:
- 11/18/08 17:52:10 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3137 r3140 461 461 float y = ssaoFilterOffsets[2 * i + 1]; 462 462 463 //ssaoFilterWeights[i] = GaussianDistribution(x, y, 1.0f);464 ssaoFilterWeights[i] = 1.0f;463 ssaoFilterWeights[i] = GaussianDistribution(x, y, 1.0f); 464 //ssaoFilterWeights[i] = 1.0f; 465 465 466 466 ssaoFilterOffsets[2 * i + 0] *= xoffs; -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsao.cg
r3137 r3140 186 186 //ao.x = DiscontinuityFilter(IN.texCoord, ao, ssaoTex, normalsTex, filterOffs, filterWeights, adaptFactor * scaleFactor / (adaptFactor + ao.y), 0); 187 187 188 //if (ao.y < 50.5f) ao.x = DiscontinuityFilter(IN.texCoord, ao, col, ssaoTex, normalsTex, colorsTex, filterOffs, filterWeights, adaptFactor * scaleFactor * ao.z / (adaptFactor + ao.y), bl, br, tl, tr); 188 189 if (ao.y < 50.5f) ao.x = DiscontinuityFilter(IN.texCoord, ao, col, ssaoTex, normalsTex, colorsTex, filterOffs, filterWeights, ao.z, bl, br, tl, tr); 189 190 //ao.x = DiscontinuityFilter(IN.texCoord, ao, ssaoTex, normalsTex, filterOffs, filterWeights, 1, 0);
Note: See TracChangeset
for help on using the changeset viewer.