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

Ensure that Particles have fully initialized before doing view axis pass in RD renderers #71925

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

clayjohn
Copy link
Member

Fixes the first reported issue in #70607 but not the second

trail_bind_pose_uniform_set is initialized when the particles are processed for the first time. This code runs each frame and is used when the particles require camera-based effects or custom sorting. So it is possible for this to be called without the particles having been processed. So we need a more comprehensive early out.

This change isn't needed in the GL_Compatibility renderer as it doesn't have support for trails.

@clayjohn clayjohn added this to the 4.0 milestone Jan 23, 2023
@clayjohn clayjohn requested a review from a team as a code owner January 23, 2023 17:39
@akien-mga akien-mga merged commit 738e965 into godotengine:master Jan 23, 2023
@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.

2 participants