+
+ // Set vertex margin as vAliasMargin if we need to make some more fragments for alias.
+#ifdef IS_REQUIRED_BLUR
+ // Let we always increase alias margin for blur case
+ vertexMargin = 2.0 * vAliasMargin;
+#else
+ // Do not increase margin if the minRadius is small enough rather than maxSize.
+ // TODO : We should change the magic parameter, 0.49
+ vertexMargin = 2.0 * vAliasMargin * smoothstep(maxSize * 0.49, maxSize * 0.5, minRadius);
+#endif