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:
authorCampbell Barton <campbell@blender.org>2022-03-31 05:00:10 +0300
committerCampbell Barton <campbell@blender.org>2022-03-31 05:01:41 +0300
commit3d132ead502f792fc67117bad5d101c137f33fef (patch)
treec370628fc2a445faab64cc839d08f8ccf25a0a3a /source/blender/draw/intern/shaders
parent41ee5382f655fe2e76c0527e43b239e15478b310 (diff)
Cleanup: spelling, trailing space for comment-blocks
Diffstat (limited to 'source/blender/draw/intern/shaders')
-rw-r--r--source/blender/draw/intern/shaders/common_gpencil_lib.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/shaders/common_gpencil_lib.glsl b/source/blender/draw/intern/shaders/common_gpencil_lib.glsl
index 9e3c219a30b..d6aaac78f14 100644
--- a/source/blender/draw/intern/shaders/common_gpencil_lib.glsl
+++ b/source/blender/draw/intern/shaders/common_gpencil_lib.glsl
@@ -81,7 +81,7 @@ float gpencil_stroke_thickness_modulate(float thickness, vec4 ndc_pos, vec4 view
float gpencil_clamp_small_stroke_thickness(float thickness, vec4 ndc_pos)
{
/* To avoid aliasing artifacts, we clamp the line thickness and
- * reduce its opacity in the fragment shader.*/
+ * reduce its opacity in the fragment shader. */
float min_thickness = ndc_pos.w * 1.3;
thickness = max(min_thickness, thickness);