- Timestamp:
- 12/20/08 09:00:10 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsao.cg
r3225 r3226 124 124 125 125 // get position exactly between old texel centers 126 float2 center;126 /*float2 center; 127 127 center.x = (floor(IN.texCoord.x * w - .5f) + 1.0f) / w; 128 128 center.y = (floor(IN.texCoord.y * h - .5f) + 1.0f) / h; … … 137 137 138 138 const float minConvergence = min(m1, m2); 139 140 //const float convergence = minConvergence; 139 const float convergence = minConvergence;*/ 141 140 //const float convergence = 0; 142 141 const float convergence = ao.y; … … 161 160 // just apply ssao if we are not in the sky 162 161 if (col.w < 1e10f) 163 OUT.illum_col.xyz = col.xyz * max(1e-1f, 1.0f - ao.x); 162 OUT.illum_col.xyz = col.xyz * max(2e-2f, 1.0f - ao.x); 163 //OUT.illum_col.xyz = col.xyz * ao.x; 164 164 else 165 165 OUT.illum_col.xyz = col.xyz;
Note: See TracChangeset
for help on using the changeset viewer.