Eevee: Support monochromatic Transparent BSDF correctly
authorClément Foucault <foucault.clem@gmail.com>
Tue, 6 Nov 2018 13:53:54 +0000 (14:53 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 6 Nov 2018 23:19:14 +0000 (00:19 +0100)
commit8a204ccdb49bd682e41a5d706726c3c77f6217fd
tree407ddb63d644dc839b82c7bd1b142a1202590908
parentbc1c263a8ada7541b4de2544757b1a765ffab0b3
Eevee: Support monochromatic Transparent BSDF correctly

This fits Cycles better even if it is only for grey scale values. This only
work if the blend mode is Alpha Blend or Alpha Hashed.
source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl
source/blender/gpu/shaders/gpu_shader_material.glsl