Browse Source

Merge pull request #11201 from stuckupfool/patch-1

Update shading_language.rst
Max Hilbrunner 3 months ago
parent
commit
bbb393cfc7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/shaders/shader_reference/shading_language.rst

+ 1 - 1
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:
 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
   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, then pass the index of the texture to be drawn using a per-instance
   uniform.
   uniform.