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

Set ReflectionProbe frame before mapping id in mobile renderer #85635

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented Dec 1, 2023

Fixes an unreported regression from #83493

The last_pass of the ReflectionProbe was set after mapping the ID. Which means that it was always out of date, resulting in the ReflectionProbe being culled at draw time.

I'm very surprised that this hasn't been reported as it totally breaks ReflectionProbes in the mobile renderer.

Bugsquad edit:

@clayjohn clayjohn requested a review from a team as a code owner December 1, 2023 23:56
@clayjohn clayjohn added this to the 4.3 milestone Dec 1, 2023
@clayjohn clayjohn added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Dec 1, 2023
@BastiaanOlij
Copy link
Contributor

Strange indeed because reflection probes definitely worked on the mobile renderer at some point.. Anyway, good find!

@akien-mga akien-mga merged commit 4c3d95e into godotengine:master Dec 4, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@YuriSizov
Copy link
Contributor

Cherry-picked for 4.2.1.

@YuriSizov YuriSizov removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Dec 5, 2023
@clayjohn clayjohn deleted the RD-ReflectionProbes-mobile branch December 6, 2023 23:23
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.

Reflection probes not working on Vulkan Mobile and Compatibility renderers in 4.2
4 participants