diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-09-09 22:11:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-09-10 04:09:45 +0300 |
commit | 90efcd6df7189d5c3634add848ef238b45dc6121 (patch) | |
tree | c67ca189deac8356afc63cc06f65ece4e537ae01 /source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl | |
parent | 314739bcedae3db58103e29817f1de216581704d (diff) |
Eevee: Shadows: Add cubemap filtering and adaptive sample count.
Filter size is constant in world space and not dependant of shadow resolution.
The filter size is limited to the number of precomputed samples.
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl b/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl index 6ad5b46f683..92d4b5aaed0 100644 --- a/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl +++ b/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl @@ -23,7 +23,7 @@ layout(std140) uniform shadow_render_block { float storedTexelSize; float nearClip; float farClip; - float shadowSampleCount; + int shadowSampleCount; float shadowInvSampleCount; }; |