solarus-games / solarus

This repository was moved to GitLab: https://gitlab.com/solarus-games/solarus
http://www.solarus-games.org
Other
710 stars 134 forks source link

added premultiplied alpha intermediates surfaces #1177

Closed stdgregwar closed 6 years ago

stdgregwar commented 6 years ago

This fixes issue #935. A new surface property "premultiplied" has been added to keep track of the alpha blend techniques used and adapt blending modes accordingly.

Before: image After: image

I don't know if we should expose this surface property to lua. But probably not.