AristurtleDev / monogame-aseprite

A Cross Platform C# Library That Adds Support For Aseprite Files in MonoGame Projects.
https://monogameaseprite.net
MIT License
166 stars 15 forks source link

Alpha Premultiply Not Applied #31

Closed AristurtleDev closed 2 years ago

AristurtleDev commented 2 years ago

The pixel data from Aseprite does not have premultiplied alpha. The SpriteBatch in MonoGame defautls to using a blend state that assumed premultiplied alpha. Processor needs to be adjusted to premultiply alpha for all Color values to match what is expected by default.