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:
authorJeroen Bakker <jeroen@blender.org>2020-02-27 18:56:39 +0300
committerJeroen Bakker <jeroen@blender.org>2020-02-27 18:56:39 +0300
commit33e9e1060f14ef0ac57a4797c1d9117978e5830d (patch)
tree21ebfac0e66f3f77f1df2ace1571d870ede18c5c
parente88a715364981af39353073c6d96b9056fafca6b (diff)
EEVEE: Shadow Render Pass
Revert the change that renders the background black.
-rw-r--r--source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl b/source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl
index fe6a828f369..5778f02f692 100644
--- a/source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl
+++ b/source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl
@@ -11,7 +11,7 @@ void main()
{
if (laNumLight == 0) {
/* Early exit: No lights in scene */
- fragColor.r = 0.0;
+ fragColor.r = 1.0;
return;
}