Changeset 2966 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h
- Timestamp:
- 09/23/08 15:41:14 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h
r2964 r2966 1 1 #ifndef __SHADERENV_H 2 2 #define __SHADERENV_H 3 4 5 //////////// 6 //-- ssao + gi parameters 3 7 4 8 #define NUM_SAMPLES 8 5 9 //#define NUM_SAMPLES 16 6 10 7 8 11 // for linear falloff 9 12 //#define SAMPLE_INTENSITY 500.0f 10 //#define SAMPLE_INTENSITY 40.0f11 13 12 14 // for quadratic falloff 13 15 #define SAMPLE_INTENSITY 0.32f 14 16 //#define SAMPLE_INTENSITY 0.85f 15 //#define SAMPLE_INTENSITY 5.0f16 17 17 18 //#define AREA_SIZE 15e-1f 18 //#define AREA_SIZE 25e-1f19 19 #define AREA_SIZE 8e-1f 20 20 … … 24 24 //#define DISTANCE_SCALE 1e-4f 25 25 #define DISTANCE_SCALE 1e-6f 26 //#define DISTANCE_SCALE 1e-8f27 26 28 27 #define ILLUM_INTENSITY 5e-1f; … … 32 31 #define GI_MIPMAP_LEVEL 2 33 32 33 34 ///////// 35 //-- tone mapping 36 37 //#define MIDDLE_GRAY 0.36f 38 #define MIDDLE_GRAY 0.18f 39 40 41 ///////// 42 //-- shadowing 43 44 #define NUM_PCF_TABS 16 45 46 47 34 48 #endif // __SHADERENV_H
Note: See TracChangeset
for help on using the changeset viewer.