- Timestamp:
- 02/11/09 15:52:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsao.cg
r3298 r3299 107 107 uniform float3 tl, 108 108 uniform float3 tr, 109 uniform float w, 110 uniform float h 109 uniform float2 resolution 111 110 ) 112 111 { … … 200 199 uniform float3 tl, 201 200 uniform float3 tr, 202 uniform float w, 203 uniform float h 201 uniform float2 resolution 204 202 ) 205 203 { … … 233 231 // just apply ssao if we are not in the sky 234 232 if (col.w < 1e10f) 233 { 235 234 OUT.illum_col.xyz = col.xyz * max(2e-2f, 1.0f - ao.x); 236 235 //OUT.illum_col.xyz = col.xyz * ao.x; 236 } 237 237 else 238 { 238 239 OUT.illum_col.xyz = col.xyz; 240 } 239 241 240 242 OUT.illum_col.w = col.w;
Note: See TracChangeset
for help on using the changeset viewer.