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
path: root/source
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-10-18 21:04:47 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-10-18 21:42:32 +0300
commit642b77e874e787b04e28dc68af3ac4bd7aed5b2e (patch)
treec2f2a193a75775b8d1b46d565a3a21fb289fa08d /source
parent9d318da4a7f250350c757c20fd25aa01d18130a6 (diff)
Edit Mesh: Decrease the depth bias on vertices
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl b/source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl
index cf7d103a86b..722411571e4 100644
--- a/source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl
+++ b/source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl
@@ -3,7 +3,7 @@ uniform mat3 NormalMatrix;
uniform mat4 ProjectionMatrix;
uniform mat4 ModelViewMatrix;
uniform mat4 ModelViewProjectionMatrix;
-uniform float ofs = 1e-3;
+uniform float ofs = 1e-4;
in vec3 pos;
in ivec4 data;