Skip to content

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

Open
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:opengl-add-alpha-hash
Open

Add support for alpha hash transparency in the Compatibility renderer#108083
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:opengl-add-alpha-hash

Conversation

@Calinou

@Calinou Calinou commented Jun 28, 2025

Copy link
Copy Markdown
Member

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
@danbolt

danbolt commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

Thanks for your hard work on this one! Excited to see it in for lower-spec games and web builds.

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

2 participants