How to adjust subviewport to work with pixel art assets?

Godot Version



I want to implement a minimap for a prototype that I am working on.
I want to show this icon on the minimap to highlight the position of the player but I can’t get this icon by HeartBeast to show properly in the SubViewPort. I have to crank the scale of the sprite way up but even then there are some weird artefacts. How can I get this to work properly?

I have the default texture filter of the Camera2D in the SubViewPort set to Nearest.



When you imported the sprite did you keep filtering turned on by any chance?

I think you can change the default settings in the project as well:


1 Like

I had my Default Texture Filter set to Nearest so that’s not the issue