-
-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raycast coordinates are incorrect #52
Comments
Hi @CHFreezer
|
I think UNITY_UV_STARTS_AT_TOP is related. |
@CHFreezer 's fix also worked for me |
Yes, it is. OpenGL works fine, but DX11 has this problem. |
…axis beeing inverted on some graphics apis
…axis beeing inverted on some graphics apis
I am sorry for not fixing this problem for a long time. https://docs.unity3d.com/2017.4/Documentation/ScriptReference/SystemInfo-graphicsUVStartsAtTop.html |
Masked button can't be clicked.
I tried to modify
SoftMaskForUGUI/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Scripts/SoftMask.cs
Line 243 in bffaed3
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!
The text was updated successfully, but these errors were encountered: