Skip to content

Commit

Permalink
Clarify per-instance uniforms are not supported in the Compatibility …
Browse files Browse the repository at this point in the history
…renderer

(cherry picked from commit 60e05c8)
  • Loading branch information
rburing authored and mhilbrunner committed Jul 24, 2024
1 parent 602a5a4 commit 509095d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tutorials/shaders/shader_reference/shading_language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,10 @@ Per-instance uniforms

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

.. note::

Per-instance uniforms are not supported when using the Compatibility renderer.

Sometimes, you want to modify a parameter on each node using the material. As an
example, in a forest full of trees, when you want each tree to have a slightly
different color that is editable by hand. Without per-instance uniforms, this
Expand Down

0 comments on commit 509095d

Please sign in to comment.