-
Notifications
You must be signed in to change notification settings - Fork 92
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
Blurry on Retina Display on macOS #30
Comments
Hi, Thank for the report. This isn't expected but I'm not sure where the issue actually is I would guess it could be caused by 3 things.
|
I've seen similar behaviour in my own 3D engine (noticeable with text rendering which I never could get crisp) and also in browsers before, the reason there was that the CALayer class defaults to linear filtering when composing the layer image in the window system. See CALayer and search for 'filter' (there are several properties, but the one that made the difference was the magnificationFilter). For instance in my code, I'm getting the layer from an MTKView object, and set the magnification filter, this fixed the blurriness:
Here's the related browser bug for Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=602103 Hope this helps :) |
Thanks! I will see if I can apply something similar to my code. |
Hi, I have rewritten the macOS support to use Metal instead. I haven't looked in detail on this issue but let me know if it helps out. I will close this for now but if it doesn't work correctly please re-open it again. |
Hi!
This library looks fantastic. I was just playing with it and noticed there's a blur when used on a Retina Macbook Pro (mid-2012) – do you have an idea why?
My scaling setting is set to X1, and here's what a screenshot looks like of a black screen with a single pixel set to white:
And here it is again zoomed in:
You can see little 'wings' off to each of the four sides. Is this intentional, or a bug?
The text was updated successfully, but these errors were encountered: