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-07-11 02:11:25 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-07-11 13:39:35 +0300
commitec9330d206494a934df64d52f133c920d2ea41d3 (patch)
tree217ff8224e9caa0c0b0368c4bb9d727d2c0affcc /source/blender/gpu
parent91d324b3dcf1e5ecff133ff3c27ba5e1f0849209 (diff)
Eevee: Fix default closure to match cycles.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_material.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl
index dbd3a941e57..81f70332876 100644
--- a/source/blender/gpu/shaders/gpu_shader_material.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_material.glsl
@@ -21,7 +21,7 @@ struct Closure {
float opacity;
};
-#define CLOSURE_DEFAULT Closure(vec3(0.0), 0.0)
+#define CLOSURE_DEFAULT Closure(vec3(0.0), 1.0)
Closure closure_mix(Closure cl1, Closure cl2, float fac)
{