Revision 2904,
661 bytes
checked in by mattausch, 16 years ago
(diff) |
got rid of error with newly visible surfaces, much faster
|
Rev | Line | |
---|
[2886] | 1 | #ifndef __SHADERENV_H
|
---|
| 2 | #define __SHADERENV_H
|
---|
| 3 |
|
---|
[2891] | 4 | #define NUM_SAMPLES 8
|
---|
| 5 | //#define NUM_SAMPLES 16
|
---|
[2886] | 6 |
|
---|
[2901] | 7 |
|
---|
| 8 | // for linear falloff
|
---|
| 9 | //#define SAMPLE_INTENSITY 500.0f
|
---|
[2904] | 10 | //#define SAMPLE_INTENSITY 40.0f
|
---|
[2901] | 11 |
|
---|
| 12 | // for quadradtc falloff
|
---|
[2903] | 13 | #define SAMPLE_INTENSITY 0.28f
|
---|
[2901] | 14 | //#define SAMPLE_INTENSITY 0.32f
|
---|
[2903] | 15 | //#define SAMPLE_INTENSITY 2.4f
|
---|
[2886] | 16 |
|
---|
[2901] | 17 | //#define AREA_SIZE 25e-1f
|
---|
| 18 | //#define AREA_SIZE 6e-1f
|
---|
[2900] | 19 | #define AREA_SIZE 8e-1f
|
---|
| 20 | //#define AREA_SIZE 5e-1f
|
---|
[2886] | 21 |
|
---|
| 22 | #define VIEW_CORRECTION_SCALE 0.0f
|
---|
| 23 | //#define VIEW_CORRECTION_SCALE 0.1f
|
---|
| 24 |
|
---|
[2901] | 25 | //#define DISTANCE_SCALE 5e-7f
|
---|
[2886] | 26 | #define DISTANCE_SCALE 1e-6f
|
---|
[2901] | 27 | //#define DISTANCE_SCALE 1.0f
|
---|
[2886] | 28 |
|
---|
| 29 | #define ILLUM_INTENSITY 5e-1f;
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | #endif // __SHADERENV_H |
---|
Note: See
TracBrowser
for help on using the repository browser.