Better [[Pixel Art]] textures in [[Godot]]. # Settings ## Compression In the Texture Import, set `Mode` to `VRAM Compressed` and check the `High Quality` box, otherwise tiny and pixel art textures will be horrifically mangled. ## Sampling Filter In the Material, under Sampling, set `Filter` to `Nearest Mipmap Anisotropic`. This will make the textures appear sharp and remove any remaining blurriness. ## Pixel Anti-Aliasing Anti-aliasing pixel art so that straight lines remain straight and not become jagged sawtooths at different viewing angles with minimal blurring. ```cardlink url: https://youtu.be/2JbhkZe22bE title: "Jitter-free Pixel Art Scaling in Godot Engine" description: "Download the Godot Project files: https://github.com/uheartbeast/jitter-free-pixelart-scaling/tree/masterWork by Akorian: https://github.com/CptPotato/GodotT..." host: youtu.be favicon: https://www.youtube.com/s/desktop/5e42dd8a/img/favicon_32x32.png image: https://i.ytimg.com/vi/2JbhkZe22bE/hqdefault.jpg ``` - https://godotshaders.com/shader/smooth-3d-pixel-filtering/ - https://github.com/CptPotato/GodotThings/blob/master/SmoothPixelFiltering/SmoothPixel3D.shader ## Stretch vs Repeat There material has two settings which may influence whether a texture is stretched across a surface or repeated. - `Triplaner` - `Repeat` # References ```cardlink url: https://youtu.be/2JbhkZe22bE title: "Jitter-free Pixel Art Scaling in Godot Engine" description: "Download the Godot Project files: https://github.com/uheartbeast/jitter-free-pixelart-scaling/tree/masterWork by Akorian: https://github.com/CptPotato/GodotT..." host: youtu.be favicon: https://www.youtube.com/s/desktop/5e42dd8a/img/favicon_32x32.png image: https://i.ytimg.com/vi/2JbhkZe22bE/hqdefault.jpg ``` - https://www.reddit.com/r/godot/comments/16ozy6f/my_kingdom_for_a_godot_4_pixelperfectsmoothcamera/ - https://github.com/uheartbeast/jitter-free-pixelart-scaling - https://github.com/CptPotato/GodotThings