Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading sprites with pre-multiplied alpha. #21160

Merged
merged 1 commit into from Oct 27, 2023

Conversation

pchote
Copy link
Member

@pchote pchote commented Oct 26, 2023

This PR adds engine support for ISpriteSequence implementations to opt-out of automatic alpha premultiplication. This is important for assets that are already natively premultiplied and otherwise render incorrectly.

Used by OpenRA/TiberianDawnHD@ce297b5 to fix OpenRA/TiberianDawnHD#28.

@pchote
Copy link
Member Author

pchote commented Oct 27, 2023

Updated.

@PunkPun PunkPun merged commit 8503678 into OpenRA:bleed Oct 27, 2023
3 checks passed
@PunkPun
Copy link
Member

PunkPun commented Oct 27, 2023

Changelog

@pchote pchote deleted the premultiplied branch October 29, 2023 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translucent effects have a dark halo
2 participants