diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-09-22 01:43:59 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-09-22 03:44:40 +0300 |
commit | 406427bd4eac038491e69156a1b344d21a5289fd (patch) | |
tree | b206413a677061b165b048cd4a90500f1ec13019 /source/blender/draw/modes/shaders/object_outline_expand_frag.glsl | |
parent | 02cd48a087d3aa21b210c70d34a610685c62dba0 (diff) |
Object Mode: Fix outline getting darker during expand steps.
Diffstat (limited to 'source/blender/draw/modes/shaders/object_outline_expand_frag.glsl')
-rw-r--r-- | source/blender/draw/modes/shaders/object_outline_expand_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/shaders/object_outline_expand_frag.glsl b/source/blender/draw/modes/shaders/object_outline_expand_frag.glsl index c753e3ab39c..e226ce9e72d 100644 --- a/source/blender/draw/modes/shaders/object_outline_expand_frag.glsl +++ b/source/blender/draw/modes/shaders/object_outline_expand_frag.glsl @@ -34,5 +34,5 @@ void main() FragColor = (btests.z) ? color[2] : FragColor; FragColor = (btests.w) ? color[3] : FragColor; - FragColor *= (is_blank_pixel) ? alpha : 1.0; + FragColor.a *= (is_blank_pixel) ? alpha : 1.0; } |