source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h @ 3016

Revision 3016, 789 bytes checked in by mattausch, 16 years ago (diff)
Line 
1#ifndef __SHADERENV_H
2#define __SHADERENV_H
3
4
5////////////
6//-- ssao + gi parameters
7
8#define NUM_SAMPLES 8
9//#define NUM_SAMPLES 16
10
11// for quadratic falloff
12#define SAMPLE_INTENSITY 0.15f
13//#define SAMPLE_INTENSITY 0.32f
14
15#define AREA_SIZE 8e-1f
16
17//#define DISTANCE_SCALE 1e-1f
18#define DISTANCE_SCALE 5e-2f
19
20#define ILLUM_INTENSITY 5e-2f
21
22#define VIEW_CORRECTION_SCALE 0.1f
23
24
25/////////
26//-- shadowing
27
28#define NUM_PCF_TABS 16
29
30
31//////////
32//-- Tone mapping
33
34#define MINLOGLUM (-10.0f)
35#define MAXLOGLUM 10.0f
36
37#define INV_LOGLUM_RANGE 0.05f
38#define LOGLUM_RANGE 20.0f
39
40#define MAX_LOD_LEVEL 10
41
42#define MIN_DEPTH_DIFF 1e-3f
43// burnout
44#define WHITE_LUMINANCE 3e4f
45
46///////////////////
47
48#define NUM_DOWNSAMPLES 9
49
50
51#endif // __SHADERENV_H
Note: See TracBrowser for help on using the repository browser.