Pixel Perfect UI #128
Myonmu
started this conversation in
Feature Requests
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to suggest to add pixel perfectness to the Nova UI, or a guideline to set it up if this is somehow already feasable.
Let's observe the behavior of pixel perfect sprites (aka, non UI images), under the URP Pixel Perfect Camera (Experimental), with the Pixel Snapping option on the Pixel Perfect Camera enabled:
in editor view, this can broke, since the editor view is not rendered with the Pixel Perfect Camera.
With the previous behaviors in mind, we could extend these behaviors to UI
UI pixels (images and texts) should also align with other pixels, whether it is UI or non UI sprites, and for different resolutions. Translation should not affect this snapping behavior.

Currently pixel snapping does not work when Pixel Snapping is enabled on the Pixel Perfect Camera.
(For now, pixel snapping seem to work for UI if Upscale Render Texture is enabled. But this mode causes pixels in texts (TMP) to disappear, as shown below)
Personally, I am OK with sprites snapping but text non-snapping (actually I may prefer this way). I (currently) don't care much about rotation, as there won't be any.
Beta Was this translation helpful? Give feedback.
All reactions