Revision 2900,
524 bytes
checked in by mattausch, 16 years ago
(diff) |
changed to real 3d samples which are then projected to texture space
|
Line | |
---|
1 | #ifndef __SHADERENV_H
|
---|
2 | #define __SHADERENV_H
|
---|
3 |
|
---|
4 | #define NUM_SAMPLES 8
|
---|
5 | //#define NUM_SAMPLES 16
|
---|
6 |
|
---|
7 | // rule of thumb: approx 1 / NUM_SAMPLES
|
---|
8 | //#define SAMPLE_INTENSITY 0.14f
|
---|
9 | //#define SAMPLE_INTENSITY 0.28f
|
---|
10 | #define SAMPLE_INTENSITY 0.32f
|
---|
11 |
|
---|
12 | //#define AREA_SIZE 18e-1f
|
---|
13 | #define AREA_SIZE 8e-1f
|
---|
14 | //#define AREA_SIZE 5e-1f
|
---|
15 |
|
---|
16 | #define VIEW_CORRECTION_SCALE 0.0f
|
---|
17 | //#define VIEW_CORRECTION_SCALE 0.1f
|
---|
18 |
|
---|
19 | //#define DISTANCE_SCALE 1e-6f
|
---|
20 | #define DISTANCE_SCALE 1e-6f
|
---|
21 |
|
---|
22 | #define ILLUM_INTENSITY 5e-1f;
|
---|
23 |
|
---|
24 |
|
---|
25 | #endif // __SHADERENV_H |
---|
Note: See
TracBrowser
for help on using the repository browser.