Skip to content

Add support for alpha hash transparency in the Compatibility renderer #108083

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Jun 28, 2025

Alpha antialiasing is not supported since OpenGL ES 3.0 does not support MSAA alpha-to-coverage (only desktop OpenGL does). This updates the documentation accordingly.

Testing project: test-alpha-hash.zip

Preview

From left to right: alpha blending, alpha scissor, alpha hash, depth pre-pass.

godot windows editor x86_64_NKTMqiSg11

@Calinou Calinou added this to the 4.x milestone Jun 28, 2025
@Calinou Calinou requested a review from a team as a code owner June 28, 2025 15:56
@Calinou Calinou requested a review from a team as a code owner June 28, 2025 15:56
@Calinou Calinou force-pushed the opengl-add-alpha-hash branch 2 times, most recently from 8e33199 to 4454720 Compare June 28, 2025 15:58
Alpha antialiasing is not supported since OpenGL ES 3.0 does not
support MSAA alpha-to-coverage (only desktop OpenGL does).
This updates the documentation accordingly.
@Calinou Calinou force-pushed the opengl-add-alpha-hash branch from 4454720 to 4b198dd Compare June 28, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenGL: Alpha Hash transparency (and ALPHA_HASH_SCALE in a custom shader) is not implemented yet
1 participant