OpenRA / TiberianDawnHD

Multiplayer compatible OpenRA mod that uses Command & Conquer: Remastered assets
GNU General Public License v3.0
37 stars 5 forks source link

Translucent effects have a dark halo #28

Closed pchote closed 1 year ago

pchote commented 1 year ago

Reported by @Orb370 on Discord.

image

The engine internally uses premultiplied alpha, but SpriteLoader assumes that input sprites are not premultiplied. The remaster assets are premultiplied, so this premultiplication is done twice, leading to the rendering issue.

pchote commented 1 year ago

Fixed in https://github.com/OpenRA/TiberianDawnHD/releases/tag/release-20231010-v2.