- Timestamp:
- 02/25/09 17:41:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsaoSep.cg
r3327 r3328 192 192 { 193 193 // the filtered ssao value 194 //OUT.illum_col.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight);194 OUT.illum_col.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 195 195 } 196 196 … … 232 232 { 233 233 // the filtered ssao value 234 //ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight);234 ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 235 235 } 236 236 … … 241 241 if (depth < DEPTH_THRESHOLD) 242 242 { 243 //OUT.illum_col.xyz = col.xyz * max(minAO, 1.0f - ao.x);244 OUT.illum_col.xyz = max(minAO, 1.0f - ao.x);243 OUT.illum_col.xyz = col.xyz * max(minAO, 1.0f - ao.x); 244 //OUT.illum_col.xyz = max(minAO, 1.0f - ao.x); 245 245 } 246 246 else
Note: See TracChangeset
for help on using the changeset viewer.