Changeset 2853 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders
- Timestamp:
- 08/19/08 16:36:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r2838 r2853 10 10 //#define SAMPLE_INTENSITY 0.125f 11 11 12 #define AREA_SIZE 5e-1f12 #define AREA_SIZE 9e-1f 13 13 #define VIEW_CORRECTION_SCALE 0.3f 14 14 #define DISTANCE_SCALE 1e-6f … … 254 254 (tex.y >= 0.0f) && (tex.y < 1.0f) && 255 255 (abs(depthDif) < 8e-5f)) 256 { 256 257 OUT.color = attenuated_color * expFactor + col1 * float4(1.0f - expFactor); 258 } 257 259 else 260 { 258 261 OUT.color = attenuated_color; 262 } 259 263 260 264 OUT.color.w = tex2D(colors, IN.texCoord.xy).w;
Note: See TracChangeset
for help on using the changeset viewer.