Ignore:
Timestamp:
08/29/08 08:55:08 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/globillum.cg

    r2881 r2882  
    88// rule of thumb: approx 1 / NUM_SAMPLES 
    99//#define SAMPLE_INTENSITY 0.15f 
    10 #define SAMPLE_INTENSITY 0.2f 
     10#define SAMPLE_INTENSITY 0.22f 
    1111 
    1212#define AREA_SIZE 7e-1f 
     
    1616#define DISTANCE_SCALE 1e-6f 
    1717 
    18 #define ILLUM_SCALE 5e-1f; 
     18#define ILLUM_INTENSITY 5e-1f; 
    1919 
    2020 
     
    112112                total_color.w -= cos_angle * distance_intensity * view_correction; 
    113113 
    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; 
    115115        } 
    116116 
Note: See TracChangeset for help on using the changeset viewer.