Ignore:
Timestamp:
12/07/08 23:26:00 (16 years ago)
Author:
mattausch
Message:

made ssao parameters more flexible
started to implement lense flare

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h

    r3209 r3212  
    77 
    88//#define NUM_SAMPLES 8 
    9 //#define NUM_SAMPLES 16 
     9#define NUM_SAMPLES 16 
    1010//#define NUM_SAMPLES 24 
    11 #define NUM_SAMPLES 48 
     11//#define NUM_SAMPLES 96 
    1212 
    13 #define SAMPLE_INTENSITY 0.15f 
    14 //#define SAMPLE_INTENSITY 2.0f 
    15  
    16 #define SAMPLE_RADIUS 8e-1f 
    17 //#define SAMPLE_RADIUS 15e-1f 
    18  
    19 //#define DISTANCE_SCALE 1e-1f 
    2013#define DISTANCE_SCALE 1e-2f 
    2114 
    2215//#define ILLUM_INTENSITY 8e-2f 
    2316#define ILLUM_INTENSITY 5e-3f 
    24  
     17/// scale factor that takes angle of sample normal into account  
    2518#define VIEW_CORRECTION_SCALE 1.0f 
    2619 
    27 //#define NUM_SSAO_FILTERSAMPLES 80 
    2820#define NUM_SSAO_FILTER_SAMPLES 16 
    2921 
Note: See TracChangeset for help on using the changeset viewer.