Godot Version
4.4
Question
I’m working on a pixel art project with the following setup:
Viewport Size: 320×180
Window Size Override: 1280×720
Stretch Mode: viewport
Stretch Scale Mode: integer
Default Texture Filter: nearest
This setup works well for rendering pixel-perfect graphics.
However, I’m running into an issue with UI nodes like Button and Tabs:
Each UI element uses anti-aliasing in its StyleBox settings by default (for all states like normal, hover, focus, etc.).
Manually creating a custom theme for every UI node type and disabling anti-aliasing for each style and state seems very tedious.
Is there a way to disable anti-aliasing for all UI nodes at once without manually editing each style?
(Note: I’m not interested in the dual-viewport approach where UI is rendered at high resolution — I want the UI itself to maintain a pixel-perfect look, consistent with the rest of the game.)