From 7a479aab528cf964ee371d02032e6e5dcdc8257d Mon Sep 17 00:00:00 2001 From: Justin Hertel Date: Wed, 13 Aug 2025 15:04:07 -0400 Subject: [PATCH] Update shading_language.rst Updated warning on per-instance shader uniforms indicating that "instance uniform arrays" are not supported --- tutorials/shaders/shader_reference/shading_language.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/shaders/shader_reference/shading_language.rst b/tutorials/shaders/shader_reference/shading_language.rst index 77e3c9415..0fe821246 100644 --- a/tutorials/shaders/shader_reference/shading_language.rst +++ b/tutorials/shaders/shader_reference/shading_language.rst @@ -1104,7 +1104,7 @@ method on a node that inherits from :ref:`class_GeometryInstance3D`: When using per-instance uniforms, there are some restrictions you should be aware of: -- **Per-instance uniforms do not support textures**, only regular scalar and +- **Per-instance uniforms do not support textures or arrays**, only regular scalar and vector types. As a workaround, you can pass a texture array as a regular uniform, then pass the index of the texture to be drawn using a per-instance uniform.