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

Restore default clear color after displaying boot splash #94404

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

clayjohn
Copy link
Member

On Android the boot splash can be shown at a different time, so the clear color restore needs to happen within the setup_boot_logo function

When there is no boot splash logo, we alter the default clear color to application/boot_splash/bg_color. It needs to be reset after.

When there is no environment in the scene, the default clear color is used as the ambient light color. Therefore, in the MRP the entire scene became darker because there was no boot splash logo!

Fixes: #94225

CC @m4gr3d

On Android the boot splash can be shown at a different time, so the clear color restore needs to happen within the `setup_boot_logo` function
Copy link
Contributor

@m4gr3d m4gr3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for tracking down the issue!

@akien-mga akien-mga merged commit fe427ff into godotengine:master Jul 17, 2024
18 checks passed
@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.

Rendering errors on Mobile and Compatility renderer using Godot 4.3 Beta 3
3 participants