diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-05-07 16:10:11 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-05-07 18:00:10 +0300 |
commit | 8ab3697e2107b955e188f4dec9d264df98e23d97 (patch) | |
tree | 7a4ebd8371a6d696b80b0515cb537e04bca03035 /source/blender/draw/modes/shaders/armature_shape_solid_frag.glsl | |
parent | 2f76e95b96fc87a8ec598c5f8a9242bc220ad9c2 (diff) |
Armature: Add new Transparent Bone overlay option.
This is half the replacement of the old wireframe mode. It's not doing any
XRay drawing at the moment.
Diffstat (limited to 'source/blender/draw/modes/shaders/armature_shape_solid_frag.glsl')
-rw-r--r-- | source/blender/draw/modes/shaders/armature_shape_solid_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/shaders/armature_shape_solid_frag.glsl b/source/blender/draw/modes/shaders/armature_shape_solid_frag.glsl index aa455a85cf0..248281f4e79 100644 --- a/source/blender/draw/modes/shaders/armature_shape_solid_frag.glsl +++ b/source/blender/draw/modes/shaders/armature_shape_solid_frag.glsl @@ -5,5 +5,5 @@ out vec4 fragColor; void main() { - fragColor = finalColor; + fragColor = vec4(finalColor.rgb, 0.6); /* Hardcoded transparency factor. */ } |