[Godot 4 beta] No option for pixel perfect filtering of images anymore?
Asked Answered
D

2

0

Hello! I'm making a 3D game with a pixely aesthetic. When importing a 32x32 png, Godot performs linear filtering, causing the result to be blurry. There's several documented ways of fixing this out there, typically boiling down to setting the texture filtering to Nearest. I've found as much even about Godot 4.

However, I don't seem to have the option at all! The two places I'd expect it to be, on the texture object and in the file import settings, I can't set it at all. I've also set the default texture filtering to be Nearest in my project settings, but it doesn't appear to do anything for the few textures I have, even after re-importing them.
Here's the options I'm getting:

I have the nagging suspicion I might be missing something very obvious, but I'm drawing a blank. Anyone have any ideas?

Drub answered 15/10, 2022 at 10:10 Comment(0)
A
0

The filtering options are now in the material instead of the texture itself. It confused me too initially πŸ˜…

Abirritate answered 15/10, 2022 at 13:9 Comment(0)
D
0

Abirritate

That's it! Under the material options, in "Sampling"! πŸ˜ƒ Thanks a lot, that did it!

Maybe it'd be nice if that setting could also be affected by the global project settings somehow, though πŸ€” But this problem can be considered solved πŸ˜ƒ

Drub answered 16/10, 2022 at 8:27 Comment(0)

© 2022 - 2025 β€” McMap. All rights reserved.