diff options
author | Antonioya <blendergit@gmail.com> | 2019-05-15 20:30:27 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-05-15 20:31:03 +0300 |
commit | fe8f0758c65150fbedcd5249a7fbc386e6c9d40f (patch) | |
tree | 549b180dd4a5d4455fe05bbed3c58e361e0fc799 /source/blender/draw | |
parent | 1185031cfb7fad368d191caf5514e40048f3f73f (diff) |
GPencil: Invert Fade Object slider
The Fade Objects and Fade Layers parameters had opposite meaning and this was not correct.
Now, both parameters work in the same direction.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/gpencil/shaders/gpencil_paper_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_paper_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_paper_frag.glsl index 3c1424f98ff..1d1cd6349dc 100644 --- a/source/blender/draw/engines/gpencil/shaders/gpencil_paper_frag.glsl +++ b/source/blender/draw/engines/gpencil/shaders/gpencil_paper_frag.glsl @@ -5,5 +5,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(color, opacity); + FragColor = vec4(color, 1.0 - opacity); } |