Is it possible to disable blurry images in scene editor?

I hope that’s the right name - scene editor (editing .go and similar views). When zoomed sprites look terrible. I’d prefer the nearest neighbor scaling (by integer value).

You need to make a custom material based on the builtin sprite material. You can copy and paste the bultin sprite material to make a copy. In this edited version, you need to add a sample “texture_sampler” (the same as in your fp) and set it to nearest.

Then you set the sprites to this new sprite material.

But this will also make your sprites scale nearest neighbor in engine too. :slight_smile:

1 Like

Thanks! I wouldn’t consider that as BUT, since I’m more into pixel art games and I prefer not to scale sprites in game but scale the view without any interpolation and all that Jazz.

Check this manual for some tips: https://www.defold.com/manuals/adapting-graphics-to-screen-size/#_retro8_bit_graphics

2 Likes

Thank, you! This is gold!

1 Like