Add march from fog to light for occlusion
This commit is contained in:
parent
f4a7253922
commit
5497e8d6ce
2 changed files with 38 additions and 15 deletions
|
@ -7,6 +7,9 @@ const SHADOW_SAMPLES = 2;
|
|||
const INV_SHADOW_SAMPLES = 1.0 / 25.0;
|
||||
const FOG_MAX_STEPS = 30;
|
||||
const FOG_STEP_SIZE = 5.0;
|
||||
const FOG_LIGHT_MAX_STEPS = 10;
|
||||
const FOG_LIGHT_STEP_SIZE = 10.0;
|
||||
const FOG_DENSITY = 2.0;
|
||||
const FOG_LIGHT_DENSITY = 3.0;
|
||||
const FOG_ALPHA = 1.0;
|
||||
const FOG_BLEND_STEPS = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue