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

Revision 3009, 920 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
[2901]11// for linear falloff
12//#define SAMPLE_INTENSITY 500.0f
13
[2930]14// for quadratic falloff
[2905]15#define SAMPLE_INTENSITY 0.32f
[2930]16//#define SAMPLE_INTENSITY 0.85f
[2886]17
[2930]18//#define AREA_SIZE 15e-1f
[2900]19#define AREA_SIZE 8e-1f
[2886]20
21#define VIEW_CORRECTION_SCALE 0.0f
22//#define VIEW_CORRECTION_SCALE 0.1f
23
[2930]24//#define DISTANCE_SCALE 1e-4f
[2886]25#define DISTANCE_SCALE 1e-6f
26
27#define ILLUM_INTENSITY 5e-1f;
[2954]28//#define ILLUM_INTENSITY 9e-1f;
[2886]29
[2985]30#define SSAO_MIPMAP_LEVEL 0//1
[2975]31#define GI_MIPMAP_LEVEL 0//2
[2886]32
[2966]33
34/////////
35//-- shadowing
36
37#define NUM_PCF_TABS 16
38
39
[2974]40//////////
41//-- Tone mapping
[2966]42
[2975]43#define MINLOGLUM (-10.0f)
[2974]44#define MAXLOGLUM 10.0f
45
[2975]46#define INV_LOGLUM_RANGE 0.05f
47#define LOGLUM_RANGE 20.0f
48
[2978]49#define MAX_LOD_LEVEL 99
50
[3009]51#define MIN_DEPTH_DIFF 1e-5f
[2991]52
53
[2886]54#endif // __SHADERENV_H
Note: See TracBrowser for help on using the repository browser.