My sprite is a 256 color greyscale and displays too brightly in Defold (both in the editor and in the game).
It looks like the PNG gamma value might be at fault (?)
Increasing the sprite to 24-bit fixes the problem so it’s no biggy.
Also, if I change the sprite to a gradient from white to black it also then displays correctly
top: correct brightness
Thanks for reporting! Could you post the problematic png file for future testing?
Pkeod
September 4, 2016, 12:58am
4
It looks dark on the browser here too so maybe it’s a problem just with the way you saved the 16bit pngs? I opened it in Photoshop and it looked dark too
Yes, it looks dark apart from in Defold, where it appears much lighter.
JCash
September 4, 2016, 9:19am
7
Seems related to this (although we didn’t create a ticket for this afaik): [Solved] Issue rendering tilemap
britzl
September 4, 2016, 9:55pm
8
I created a ticket for this specific issue: DEF-2093