diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-07-11 02:11:25 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-07-11 13:39:35 +0300 |
commit | ec9330d206494a934df64d52f133c920d2ea41d3 (patch) | |
tree | 217ff8224e9caa0c0b0368c4bb9d727d2c0affcc /source/blender/gpu/shaders | |
parent | 91d324b3dcf1e5ecff133ff3c27ba5e1f0849209 (diff) |
Eevee: Fix default closure to match cycles.
Diffstat (limited to 'source/blender/gpu/shaders')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_material.glsl | 2 |
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) { |