Skip to content

Forward+: Fix builtins in light shader #107625

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

Merged

Conversation

beicause
Copy link
Contributor

Fixes #107590.

@beicause beicause requested a review from a team as a code owner June 17, 2025 12:03
@DarioSamo
Copy link
Contributor

Seems good to me once the suggestions are applied!

@beicause beicause force-pushed the forward-plus-fix-light-shader-builtins branch from 3e62dd8 to 8a2fd98 Compare June 17, 2025 12:16
@AThousandShips
Copy link
Member

Can confirm that this solves the crash, and that the changed built-ins work correctly

Might be worth in a later follow-up to adjust all the naming to match between Mobile and Forward+ but this solves these specific concerns

@Repiteo Repiteo merged commit 8f6597a into godotengine:master Jun 18, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jun 18, 2025

Thanks!

@beicause beicause deleted the forward-plus-fix-light-shader-builtins branch June 19, 2025 07:27
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.

[4.5.beta1] Spatial shader compilation failed when reading NORMAL in light() in Forward+ renderer
5 participants