- Timestamp:
- 02/23/09 18:33:26 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsaoSep.cg
r3323 r3326 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 … … 223 223 const float convergence = ao.y; 224 224 225 const float2 xyStep = float2( 0, 1.0f / res.y);225 const float2 xyStep = float2(.0f, 1.0f / res.y); 226 226 227 227 // filter reaches size 1 pixel when sample size reaches threshold … … 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 … … 249 249 } 250 250 251 //OUT.illum_col.xyz = float3(col.w * 5e-3f, 0, 0); 252 OUT.illum_col.xyz = ao.xyz; 253 251 254 OUT.illum_col.w = col.w; 252 255
Note: See TracChangeset
for help on using the changeset viewer.