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

Revision 2930, 636 bytes checked in by mattausch, 16 years ago (diff)

worked on ssao sampling

Line 
1#ifndef __SHADERENV_H
2#define __SHADERENV_H
3
4#define NUM_SAMPLES 8
5//#define NUM_SAMPLES 16
6
7
8// for linear falloff
9//#define SAMPLE_INTENSITY 500.0f
10//#define SAMPLE_INTENSITY 40.0f
11
12// for quadratic falloff
13#define SAMPLE_INTENSITY 0.32f
14//#define SAMPLE_INTENSITY 0.85f
15//#define SAMPLE_INTENSITY 5.0f
16
17//#define AREA_SIZE 15e-1f
18//#define AREA_SIZE 25e-1f
19#define AREA_SIZE 8e-1f
20
21#define VIEW_CORRECTION_SCALE 0.0f
22//#define VIEW_CORRECTION_SCALE 0.1f
23
24//#define DISTANCE_SCALE 1e-4f
25#define DISTANCE_SCALE 1e-6f
26//#define DISTANCE_SCALE 1e-8f
27
28#define ILLUM_INTENSITY 5e-1f;
29
30
31#endif // __SHADERENV_H
Note: See TracBrowser for help on using the repository browser.