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>2018-11-11 19:45:29 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-11-12 15:50:22 +0300
commit36a3a40033298227cfc55f59580e03863c09699d (patch)
tree133a4081e18fc000efcf9db8c2fa8ebaaa7a99bf /source/blender/draw/engines/eevee/eevee_private.h
parente51dae4af852be1d67ff04b0dc2fb448c25dc913 (diff)
Eevee: Fix ESM not working after a certain distance
This was caused by overflow caused by the background and precision during filtering.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r--source/blender/draw/engines/eevee/eevee_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h
index 1c04dc81aad..a07f6f05f45 100644
--- a/source/blender/draw/engines/eevee/eevee_private.h
+++ b/source/blender/draw/engines/eevee/eevee_private.h
@@ -384,6 +384,7 @@ typedef struct EEVEE_ShadowRender {
float clip_far;
int shadow_samples_len;
float shadow_samples_len_inv;
+ float exponent;
} EEVEE_ShadowRender;
/* This is just a really long bitflag with special function to access it. */