Skip to content

Use BlendState.ALPHA across all components #168

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

Merged
merged 2 commits into from
Jun 11, 2025

Conversation

Johni0702
Copy link
Contributor

This PR introduces two new ElementaVersions:

  • V9 switches all components to consistently use URenderPipeline on all Minecraft versions (so we don't have to implement V10 for the legacy code paths)
  • V10 switches all components to use BlendState.ALPHA instead of BlendState.NORMAL, which fixes the alpha channel of the render result, required for proper compositing with MC's new gui renderer in 1.21.6

Made these separate versions to aid in debugging if your gui is broken by them, so you can apply them separately to figure out which one your gui doesn't handle properly.

@Traben-0
Copy link

lgtm 👍

@Johni0702 Johni0702 merged commit ac86037 into master Jun 11, 2025
1 check passed
@Johni0702 Johni0702 deleted the feature/proper-alpha-result branch June 11, 2025 09:19
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.

2 participants