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

Clear AABB when Mesh is cleared #100065

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented Dec 5, 2024

Fixes the problem mentioned in #97472 (comment)

Simply clearing the Mesh every frame is enough for it to get reconsidered by shadows which causes shadows to get re-rendered. This needlessly reduces performance in such cases.

@clayjohn clayjohn added this to the 4.4 milestone Dec 5, 2024
@clayjohn clayjohn requested a review from a team as a code owner December 5, 2024 19:43
@akien-mga
Copy link
Member

Also worth a 4.3 cherrypick?

@clayjohn
Copy link
Member Author

clayjohn commented Dec 6, 2024

Also worth a 4.3 cherrypick?

I don't think so. This one is slightly more risky, and the problem it solves isn't something that many people will run into.

@Repiteo Repiteo merged commit a365608 into godotengine:master Dec 9, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 9, 2024

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