-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
area:manualIssues and PRs related to the Manual/Tutorials section of the documentationIssues and PRs related to the Manual/Tutorials section of the documentationenhancementtopic:shaders
Description
Your Godot version:
4.4
Issue description:
Godot 4.4 requires uint in switch statement in a .gdshader, which requires constants and/or literals declared as uint, but there is no discussion in the Godot Shading Language description about literals.
The answer is to use <decimal number>u, but that was only figured out by guessing although looking at the GLSL language definition would give a clue as well.
URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/tutorials/shaders/shader_reference/shading_language.html
Metadata
Metadata
Assignees
Labels
area:manualIssues and PRs related to the Manual/Tutorials section of the documentationIssues and PRs related to the Manual/Tutorials section of the documentationenhancementtopic:shaders