Skip to content

Commit 3dc75a7

Browse files
authored
Merge pull request godotengine#9189 from rburing/per_instance_compat
Clarify per-instance uniforms are not supported in the Compatibility renderer
2 parents 3a577ea + 60e05c8 commit 3dc75a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tutorials/shaders/shader_reference/shading_language.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,10 @@ Per-instance uniforms
10181018

10191019
Per-instance uniforms are only available in ``spatial`` (3D) shaders.
10201020

1021+
.. note::
1022+
1023+
Per-instance uniforms are not supported when using the Compatibility renderer.
1024+
10211025
Sometimes, you want to modify a parameter on each node using the material. As an
10221026
example, in a forest full of trees, when you want each tree to have a slightly
10231027
different color that is editable by hand. Without per-instance uniforms, this

0 commit comments

Comments
 (0)