Changeset 3209
- Timestamp:
- 12/03/08 13:01:25 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h
r3208 r3209 9 9 //#define NUM_SAMPLES 16 10 10 //#define NUM_SAMPLES 24 11 #define NUM_SAMPLES 9611 #define NUM_SAMPLES 48 12 12 13 #define SAMPLE_INTENSITY 0. 2f13 #define SAMPLE_INTENSITY 0.15f 14 14 //#define SAMPLE_INTENSITY 2.0f 15 15 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsao.cg
r3206 r3209 218 218 219 219 if (col.w < 1e10f) 220 OUT.illum_col.xyz = col.xyz * ao.x;220 OUT.illum_col.xyz = col.xyz * max(1e-1f, 1.0f - ao.x); 221 221 else 222 222 OUT.illum_col.xyz = col.xyz; -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r3208 r3209 348 348 total_ao /= numSamples; 349 349 350 return float3(max(0.0f, 1.0f - total_ao), validSamples, numSamples); 350 //return float3(max(0.0f, 1.0f - total_ao), validSamples, numSamples); 351 return float3(total_ao, validSamples, numSamples); 351 352 } 352 353
Note: See TracChangeset
for help on using the changeset viewer.