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

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