How do I get rid of the blurry filter for 2d pixel art

Godot Version

Replace this line with your Godot version

Question

Ask your question here! Try to give as many details as possiblestrong text

In Godot 3 you can set it in the import setting: Importing images — Godot Engine (3.6) documentation in English.

In 4 the texture filter is a property of CanvasItem: texture_filter.

You can set it in the inspector under Texture → Filter. You can set the default filter in the project settings in ‘Texture → Rendering’.

For pixel art you want to set it to Nearest.

2 Likes