Texture is blurry even after adjusting imports

Godot Version

4.3

Question

Hi! I am in that phase of programming where everyone creates a minecraft clone. I was trying to texture the blocks using a single png file with the block textures.
The problem that I am running into is that I cannot get the texture to look crisp, it is blurry even after altering import settings.



I tried setting default texture filter to nearest neighbor from the project settings but that didn’t change anything.
The best guess I have is to use TextureParameter2D graph node beause it has “nearest neighbor” filter option but I have no idea how to use that and I can’t seem to find a tutorial so far.
Here is a link for a minimal project, the visual shader lies in the material of the plane mesh.
minimal project
If you need more info I am here.

Check the filter settings on the node that the asset is assigned to under flag properties.

Well I figured it out using texture2dparameter by setting it as global shader parameter from project settings and setting the appropriate filter. Sorry, I forgot to mention this material will be assigned to a 3d mesh so I don’t think there are any filter setting in the node itself.
Also is there a way to set the filter on texture2d node itself?

Is there a way to set the filter in texture2d itself?

I think there was at some point in the import settings, but nodes and materials have a filter option as well.

Ah yes thank you! This works very well!


The uvs are scuffed but thats a problem from my side…

btw I discovered setting the filter to Texture2D node directly is not possible: How to set texture sampling filter without using Texture2DParameter - #4 by 1plus1is3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.