Skip to content

Commit 41206e4

Browse files
authored
Mention canvas_item support for per-instance uniforms
Reflects changes as of Godot 4.4 godotengine/godot#99230
1 parent da17e45 commit 41206e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/shaders/shader_reference/shading_language.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ Per-instance uniforms
10581058

10591059
.. note::
10601060

1061-
Per-instance uniforms are only available in ``spatial`` (3D) shaders.
1061+
Per-instance uniforms are only available in ``spatial`` (3D) and ``canvas_item`` (2D) shaders.
10621062

10631063
Sometimes, you want to modify a parameter on each node using the material. As an
10641064
example, in a forest full of trees, when you want each tree to have a slightly

0 commit comments

Comments
 (0)