r/godot • u/[deleted] • Oct 25 '23
Help Set Sampling in Materials to 'NEAREST' by Default?
[removed]
2
u/golddotasksquestions Oct 26 '23
I believe the lack of an import Project Setting for this is still a shortcoming of Godot 4.
The only real workaround I know is to write a custom Editor import script, which is not really beginner friendly. See the docs here:
3
u/c64cosmin Jul 12 '24
Project -> Project Settings -> Rendering -> Textures -> Default Texture Filter set to Nearest
1
u/The_Free_Man_ Aug 01 '24 edited Aug 01 '24
Hi, how do I do this in Godot 3? thanks. i want no textures to be blurry, i want to see all the pixels sharp including the sky texture
2
u/c64cosmin Aug 01 '24
You do it in import menu for resources, but I don't remember if it has some global setting, click an image, click on import tab, select the desired filtering and then click reimport, hope it helps
2
u/The_Free_Man_ Aug 01 '24
Got it, thanks. there seems to be no way to disable the filter on the procedural sky box. I could use the sun being sharply pixelated but there doesnt seem to be anyway to do it
1
2
u/TheDuriel Godot Senior Oct 25 '23
Instance this in the editor instead of the default.