Closed CHFreezer closed 4 years ago
Hi @CHFreezer Thank you for reporting!
I think UNITY_UV_STARTS_AT_TOP is related.
@CHFreezer 's fix also worked for me
I think UNITY_UV_STARTS_AT_TOP is related.
Yes, it is. OpenGL works fine, but DX11 has this problem.
I am sorry for not fixing this problem for a long time.
I will fix it with SystemInfo.graphicsUVStartsAtTop
API.
https://docs.unity3d.com/2017.4/Documentation/ScriptReference/SystemInfo-graphicsUVStartsAtTop.html
Masked button can't be clicked.
I tried to modify https://github.com/mob-sakai/SoftMaskForUGUI/blob/bffaed3d78257edcb0f50562eae3fb6933e98010/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Scripts/SoftMask.cs#L243 to:
int y = (int)((softMaskBuffer.height - 1) * (1 - Mathf.Clamp01(sp.y / Screen.height)));
after it worked for me. But I want to know why, thanks!