-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Godot Screen Pixel Jitter. #41814
Comments
There is nothing that can be done about this with sprites that have filtering disabled. You must ensure that the scaling ratio is always an integer factor to avoid scaling artifacts. (At higher scale factors, this becomes less noticeable but the base problem remains.) Duplicate of #6506. |
-Rename pixel_snap to snap_2d_to_vertices -Added snap_2d_to_transforms which is more useful Fixes godotengine#41814 Solves proposal godotengine/godot-proposals#1666 Supersedes godotengine#35606, supersedes godotengine#41535, supersedes godotengine#41534
I don't think this issue should be closed. Because in Godot version 3.2.4-beta-4 it is not fixed as stated in the #43194 description, even with Test using the op MRP with the |
The jittering when sprites are scaled while using point sampling is inherent to the process. It should work as a drop in replacement. Example: I hope this is useful to someone. |
@mortarroad: It would be awesome if you posted this shader on either https://godotshaders.com/ or Godot Assetlib or the Godot subreddit, so that people could find it easier. |
Godot version:
Godot 3.2.2 stable, and Godot 4.0
GLES 2,3 Vulkan
OS/device including version:
Windows 10 1909 , GTX 1070, I5 , 1360x780 screen.
Issue description:
Pixels snap randomly and offest and scaling isn't smooth and jitter, also screen differnets can snap the pixels randomly.
Pixel snap has no effect at all.
nor making the values smaller in godot source code.
Steps to reproduce:
Simply try to scale a sprite very slowly and you see line of tearing visible.
or change the viewport size while looking at your sprites.
Minimal reproduction project:
jitter.zip
The text was updated successfully, but these errors were encountered: