-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Follow the default texture filter project setting in 2D shaders if no filtering hint is specified #57679
Comments
Since filter modes are no longer stored in the texture itself but in the usage, you need to add uniform sampler2D frames : filter_nearest, hint_albedo; We should probably figure out a way to make shaders obey the default texture filter configured in 2D if no hint is provided. For 3D however, we don't have a default texture filter option yet. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Is this issue still valid? |
Yes. The user is asking for the The other comments are about an unrelated issue that has been resolved. |
@clayjohn Thanks for the answer! |
Sorry, I just copy-pasted the wrong property! It is directly below filter |
Related to #74332 |
Godot version
v4.0.alpha1.official [31a7ddb]
System information
Windows 10
Issue description
This shader which I am using to animate tiles makes them blurry in 4? Maybe not related to TileSet. Just where I noticed it. I changed the Project Settings -> Rendering -> Textures -> Default Texture Filter to get sharp pixel graphics maybe there is a way to make the shader use that setting too?
Thanks.
Steps to reproduce
Minimal reproduction project
https://github.com/rakkarage/NewTileMapTest
The text was updated successfully, but these errors were encountered: