godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

Took me a long time to discover you can use array types for uniforms in shaders

Open Vanthium opened this issue 3 weeks ago • 3 comments

Your Godot version: 4.5

Issue description: The fact that you can have uniforms of array types isn't obvious. It is mentioned briefly under 'Arrays' but not under data types or uniforms. I suggest a short note be added to both, or at least under the 'Uniforms' heading. I didn't notice it for months..

If I can find time I will see if I can contribute a PR.

URL to the documentation page (if already existing): https://docs.godotengine.org/en/stable/tutorials/shaders/shader_reference/shading_language.html

Vanthium avatar Nov 20 '25 06:11 Vanthium