[Bf-blender-cvs] [047ff741173] greasepencil-object: GPencil: Cleanup comments

Antonio Vazquez noreply at git.blender.org
Sun Sep 13 15:51:54 CEST 2020


Commit: 047ff74117379f38018671b28616367db41d83db
Author: Antonio Vazquez
Date:   Sat Sep 12 19:55:48 2020 +0200
Branches: greasepencil-object
https://developer.blender.org/rB047ff74117379f38018671b28616367db41d83db

GPencil: Cleanup comments

===================================================================

M	source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl

===================================================================

diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl
index b7156ccc8d9..2d2d99bfe66 100644
--- a/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl
+++ b/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl
@@ -89,13 +89,13 @@ void main()
   fragColor *= stroke_round_cap_mask(
       strokePt1, strokePt2, strokeAspect, strokeThickness, strokeHardeness);
 
-  /* Masking materials. */
+  /* Holdout materials. */
   if (GP_FLAG_TEST(matFlag, GP_STROKE_HOLDOUT | GP_FILL_HOLDOUT)) {
     revealColor = vec4(1.0 - fragColor.aaa, 1.0);
     fragColor = vec4(fragColor.rgb, 1.0);
   }
   else {
-    /* NOT masking materials.
+    /* NOT holdout materials.
      * For compatibility with colored alpha buffer.
      * Note that we are limited to mono-chromatic alpha blending here
      * because of the blend equation and the limit of 1 color target



More information about the Bf-blender-cvs mailing list