Skip to content

Commit

Permalink
fix #41; Doesn't work with Screen-Space Overlay on Mac editor
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Mar 15, 2019
1 parent ad87680 commit 0cb6a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Coffee/UIExtensions/SoftMaskForUGUI/SoftMask.cginc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fixed Approximately(float4x4 a, float4x4 b)
return step(
max(d._m00,max(d._m01,max(d._m02,max(d._m03,
max(d._m10,max(d._m11,max(d._m12,max(d._m13,
max(d._m20,max(d._m21,max(d._m22,max(d._m23,
max(d._m30,max(d._m31,max(d._m32,d._m33))))))))))))))),
max(d._m20,max(d._m21,max(d._m22,//max(d._m23,
max(d._m30,max(d._m31,max(d._m32,d._m33)))))))))))))),
0.01);
}

Expand Down

0 comments on commit 0cb6a3f

Please sign in to comment.