- Timestamp:
- 04/14/09 13:53:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r3352 r3353 40 40 41 41 // hack: prevent to shade the sky 42 #if 0 42 43 if (color.w > DEPTH_THRESHOLD) 43 44 { … … 51 52 outColor = (ambient + diffuse) * color; 52 53 } 54 #else 55 outColor = ao; 56 #endif 53 57 54 58 return outColor; … … 361 365 ); 362 366 #else 363 const float2 pValid = float2(0, 0);367 const float2 pValid = float2(0, 0); 364 368 #endif 365 369
Note: See TracChangeset
for help on using the changeset viewer.