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:
authorluzpaz <luzpaz>2021-02-06 06:07:03 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-02-06 06:08:14 +0300
commita4a9d14ba71100259f19bd62e8c2f27cd8b7862f (patch)
tree0e6cf7dad2599966d1fd4dd25889c850a5c26fb0 /source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl
parent3560f5c1e64e89d345fb2640bb502a433348e4b7 (diff)
UI: Fix Typos in Comments and Docs
Approximately 91 spelling corrections, almost all in comments. Differential Revision: https://developer.blender.org/D10288 Reviewed by Harley Acheson
Diffstat (limited to 'source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl')
-rw-r--r--source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl b/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl
index 2989e07691f..f24aee56bb2 100644
--- a/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl
+++ b/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl
@@ -146,7 +146,7 @@ void main()
vec4 lines = vec4(neightbor_line0.z, neightbor_line1.z, neightbor_line2.z, neightbor_line3.z);
/* Count number of line neighbors. */
float blend = dot(vec4(0.25), step(0.001, lines));
- /* Only do blend if there is more than 2 neighbor. This avoid loosing too much AA. */
+ /* Only do blend if there are more than 2 neighbors. This avoids losing too much AA. */
blend = clamp(blend * 2.0 - 1.0, 0.0, 1.0);
fragColor = mix(fragColor, fragColor / fragColor.a, blend);
}