- Timestamp:
- 02/12/09 18:28:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsaoSep.cg
r3305 r3306 166 166 167 167 OUT.illum_col = tex2Dlod(ssaoTex, float4(IN.texCoord, 0, 0)); 168 // just take unfiltered convergence in current pixel168 // compute minimal convergence for savetly reasons, write it out 169 169 const float convergence = ComputeConvergenceHalfRes(ssaoTex, IN.texCoord, res * 0.5f); 170 OUT.illum_col.y = convergence; 170 171 171 172 const float2 xyStep = float2(1.0f / res.x, 0); … … 221 222 if (depth < DEPTH_THRESHOLD) 222 223 { 223 OUT.illum_col.xyz = col.xyz * max(2e-2f, 1.0f - ao.x);224 //OUT.illum_col.xyz = col.xyz * ao.x;224 //OUT.illum_col.xyz = col.xyz * max(2e-2f, 1.0f - ao.x); 225 OUT.illum_col.xyz = max(2e-2f, 1.0f - ao.x); 225 226 } 226 227 else
Note: See TracChangeset
for help on using the changeset viewer.