diff options
author | Joshua Leung <aligorith@gmail.com> | 2017-08-02 16:25:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2017-08-02 16:25:55 +0300 |
commit | 440bce242d9540859b073af7f6fb99c17fc4eeed (patch) | |
tree | 8829fe4e9b32523d0b75b327d02a08fcb77720f5 /source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl | |
parent | b569151ffb0043ea8f38782d663c78a03187b439 (diff) |
Keyframe Drawing: Fix 2.7 -> 2.8 regressions
* Outlines of keyframes were too thick and ugly
* Size differences between keyframe types was being swallowed
by the pixel-fudge factor, leaving colour as the only distinguishing
factor (bad!)
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl b/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl index b86d6fd70fe..c49832bf9b4 100644 --- a/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl @@ -2,7 +2,7 @@ uniform mat4 ModelViewProjectionMatrix; const float pixel_fudge = sqrt(2.0); -const float outline_width = 1.25 * pixel_fudge; +const float outline_width = 1.15 * pixel_fudge; in vec2 pos; in float size; |