Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-09-09 22:11:22 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-09-10 04:09:45 +0300
commit90efcd6df7189d5c3634add848ef238b45dc6121 (patch)
treec67ca189deac8356afc63cc06f65ece4e537ae01 /source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl
parent314739bcedae3db58103e29817f1de216581704d (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.glsl2
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;
};