Grayscale PNG spritesheet causes blue tints to be ignored #1518
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
Bevy version
main (c2a427f)
Operating system & version
macOS 11.2.1
What you did
Load a Greyscale PNG spritesheet (via
from_grid
), set any colours with blue in them.What you expected to happen
The blue tint should be applied.
What actually happened
Blue is ignored, producing inaccurate colour representations.
Additional information
Opening the png file and re-exporting it as an sRGB file solves the problem.
Original Spritesheet (white glyphs with transparent background)
Before
After
The text was updated successfully, but these errors were encountered: