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

Disable writing to alpha with opaque framebuffer #61375

Merged
merged 1 commit into from
May 24, 2022

Conversation

clayjohn
Copy link
Member

Fixes: #61363
Might fix: #61359

The issue here is that transparent objects were writing to the alpha channel of the framebuffer which used to be ignored when not using a transparent viewport. Now that the post-process doesn't ignore transparency, the final viewport becomes transparent when transparent objects are used. This PR makes it so transparent objects no longer write to the alpha channel during normal rendering when using an opaque viewport.

@clayjohn clayjohn added this to the 3.5 milestone May 24, 2022
@clayjohn clayjohn requested a review from a team as a code owner May 24, 2022 17:34
@akien-mga akien-mga merged commit 5d65cf2 into godotengine:3.x May 24, 2022
@akien-mga
Copy link
Member

Thanks!

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.

3 participants