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

Add note to use varyings to access builtins in shader pages #10605

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

tetrapod00
Copy link
Contributor

Addresses #10604.

In theory, the fact that shader builtins are different depending on the function is obvious and already noted in Shading language. In practice, it's easy to miss that stub section and go straight to the Spatial or CanvasItem pages instead. So I think duplicating this note in two pages is appropriate.

@tetrapod00 tetrapod00 added enhancement area:manual Issues and PRs related to the Manual/Tutorials section of the documentation topic:shaders cherrypick:4.3 labels Feb 2, 2025
@mhilbrunner mhilbrunner merged commit 091a449 into godotengine:master Feb 3, 2025
1 check passed
@mhilbrunner
Copy link
Member

Agreed. :) Thanks, merged.

@tetrapod00 tetrapod00 deleted the builtin-varying-note branch February 3, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.3 enhancement topic:shaders
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants