diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2021-03-19 20:21:29 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-03-19 23:11:06 +0300 |
commit | 89ef0da5513a2bc85a518b0941807ecdd6980a66 (patch) | |
tree | d436fdeb933a944d05957d2fc3e791a013b683f0 /source/blender/draw/engines/eevee/eevee_private.h | |
parent | 355f884b2f0932e0e1d50e9506d4c0e3bf6e2289 (diff) |
EEVEE: Volumetrics: Add support for soft volumetric shadows
Soft surface shadows were already supported but now we support
soft shadows of the volume themselves.
This is only enabled if the light casts shadow and the scene soft
shadows toggle is enabled.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index ca10e01e3f5..cbaf55809c6 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -855,10 +855,10 @@ typedef struct EEVEE_CommonUniformBuffer { float vol_jitter[3], pad6; /* vec3 */ float vol_coord_scale[4]; /* vec4 */ /* -- 16 byte aligned -- */ - float vol_history_alpha; /* float */ - float vol_light_clamp; /* float */ - float vol_shadow_steps; /* float */ - int vol_use_lights; /* bool */ + float vol_history_alpha; /* float */ + float vol_shadow_steps; /* float */ + int vol_use_lights; /* bool */ + int vol_use_soft_shadows; /* bool */ /* Screen Space Reflections */ /* -- 16 byte aligned -- */ float ssr_quality, ssr_thickness, ssr_pixelsize[2]; /* vec4 */ |