- Timestamp:
- 08/29/08 08:55:08 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/globillum.cg
r2881 r2882 8 8 // rule of thumb: approx 1 / NUM_SAMPLES 9 9 //#define SAMPLE_INTENSITY 0.15f 10 #define SAMPLE_INTENSITY 0.2 f10 #define SAMPLE_INTENSITY 0.22f 11 11 12 12 #define AREA_SIZE 7e-1f … … 16 16 #define DISTANCE_SCALE 1e-6f 17 17 18 #define ILLUM_ SCALE5e-1f;18 #define ILLUM_INTENSITY 5e-1f; 19 19 20 20 … … 112 112 total_color.w -= cos_angle * distance_intensity * view_correction; 113 113 114 total_color.xyz += cos_angle * distance_intensity * view_correction * sample_color * ILLUM_ SCALE;114 total_color.xyz += cos_angle * distance_intensity * view_correction * sample_color * ILLUM_INTENSITY; 115 115 } 116 116
Note: See TracChangeset
for help on using the changeset viewer.