From 30001833262eef814fc5e3c80ec0eb967f1c18bb Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Fri, 25 Jan 2019 13:43:17 +0900 Subject: [PATCH] fix #27; Does not work with flipped/rotated images --- .../SoftMaskForUGUI/Shaders/Resources/SoftMask.shader | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Shaders/Resources/SoftMask.shader b/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Shaders/Resources/SoftMask.shader index 305e720..e9319d2 100644 --- a/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Shaders/Resources/SoftMask.shader +++ b/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Shaders/Resources/SoftMask.shader @@ -4,6 +4,7 @@ SubShader { Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"} LOD 100 + Cull Off ZWrite Off Blend SrcAlpha OneMinusSrcAlpha ColorMask [_ColorMask]