Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-05-05 21:22:05 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-05-05 22:04:21 +0300
commiteec3fc1273e6c02ab5749a054261287fb0da0f89 (patch)
tree41a7d586ec0a5d1306f5ce1e5a82c8072ebe7dda /source/blender/draw/modes/shaders
parent1107223a632ca8d853bb6b37492d08f74bb369a5 (diff)
Armature: Set outline width to 2.0.
Correspond roughly to 1px width.
Diffstat (limited to 'source/blender/draw/modes/shaders')
-rw-r--r--source/blender/draw/modes/shaders/armature_envelope_outline_vert.glsl2
-rw-r--r--source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl2
-rw-r--r--source/blender/draw/modes/shaders/armature_sphere_outline_vert.glsl2
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/modes/shaders/armature_envelope_outline_vert.glsl b/source/blender/draw/modes/shaders/armature_envelope_outline_vert.glsl
index c7958148588..e534e8cef1d 100644
--- a/source/blender/draw/modes/shaders/armature_envelope_outline_vert.glsl
+++ b/source/blender/draw/modes/shaders/armature_envelope_outline_vert.glsl
@@ -5,7 +5,7 @@ uniform mat4 ViewProjectionMatrix;
uniform mat4 ProjectionMatrix;
uniform vec2 viewportSize;
-uniform float lineThickness = 3.0;
+uniform float lineThickness = 2.0;
/* ---- Instanciated Attribs ---- */
in vec2 pos0;
diff --git a/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl b/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl
index 3d3cb692634..07eea8a1f34 100644
--- a/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl
+++ b/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl
@@ -13,7 +13,7 @@ in vec4 vCol[];
flat out vec4 finalColor;
uniform mat4 ProjectionMatrix;
uniform vec2 viewportSize;
-uniform float lineThickness = 3.0;
+uniform float lineThickness = 2.0;
vec2 compute_dir(vec2 v0, vec2 v1)
{
diff --git a/source/blender/draw/modes/shaders/armature_sphere_outline_vert.glsl b/source/blender/draw/modes/shaders/armature_sphere_outline_vert.glsl
index 8fe20decdca..b5601e56210 100644
--- a/source/blender/draw/modes/shaders/armature_sphere_outline_vert.glsl
+++ b/source/blender/draw/modes/shaders/armature_sphere_outline_vert.glsl
@@ -2,7 +2,7 @@
uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix;
uniform vec2 viewportSize;
-uniform float lineThickness = 3.0;
+uniform float lineThickness = 2.0;
/* ---- Instanciated Attribs ---- */
in vec2 pos0;