Changeset 2829 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders
- Timestamp:
- 07/10/08 15:57:47 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r2826 r2829 1 //////////////////// 2 // Screen Spaced Ambient Occlusion shader 3 // mainly based on Kustls shader 4 1 5 #define NUM_SAMPLES 8 2 6 #define SAMPLE_INTENSITY 0.5f … … 180 184 float ao = ssao(IN, positions, noiseTexture, samples, normal); 181 185 182 //OUT.color = tex2D(positions, IN.texCoord.xy); 183 //OUT.color = ao; 184 //OUT.color = col; 185 OUT.color = ao * col; 186 //OUT.color = ao; 187 OUT.color = ao * col; 186 188 187 189 return OUT;
Note: See TracChangeset
for help on using the changeset viewer.