Skip to content
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

It looks weird on Godot4.0 #1

Open
YuZhenlol opened this issue Oct 10, 2023 · 3 comments
Open

It looks weird on Godot4.0 #1

YuZhenlol opened this issue Oct 10, 2023 · 3 comments

Comments

@YuZhenlol
Copy link

image
How can I fix it.

@netcatgirl
Copy link

In shader file, add : repeat_enable; at the end of uniform sampler2D u_dither_tex.
So it would look like this: uniform sampler2D u_dither_tex: repeat_enable;

This should fix it :)

@YuZhenlol
Copy link
Author

Thanks for your reply,it works well :)
But the texture seems to compress.
uniform sampler2D u_dither_tex: repeat_enable,filter_nearest; can fix it.

@netcatgirl
Copy link

whoops, completely missed that. Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants