I was following the repeating background material on quad mesh example but I noticed a strange blurry texture artifacting issue. It looks fine in editor, but bad for low res pixel textures. I believe I set everything to nearest. game.project, and in the material, but it still comes out like this. Is there some form of compression im not aware of?
repeat-background.zip (248.9 KB)
I tried your project, everything seems fine to me. However I’ve been only doing pixel art graphic in Defold with use of Sprites and they have atlasses and may be handled different than just .png files for textures…
I couldn’t fix it by tweaking various things including scale, zoom, game.project settings etc. but I found out one dirty hack…
You can save your middleground.png with 4x resolution (2x is not enough). I did it and it seems fine now:
I did not change anything else. It increases the size of course, but not that much, 1536x960 needs 30.8 KB, while original 384x240 occupied 15.3 KB.
(Edit: fun fact, when I saved 1536x960 in .png using paint.net it had size 30.8 KB, but if you download the image below, still 1536x960, its only 12.1 KB!)
Scaled version:
Hope somebody else can provide cleaner solution 