浏览代码

Merge pull request #9189 from rburing/per_instance_compat

Clarify per-instance uniforms are not supported in the Compatibility renderer
Max Hilbrunner 1 年之前
父节点
当前提交
3dc75a70d1
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tutorials/shaders/shader_reference/shading_language.rst

+ 4 - 0
tutorials/shaders/shader_reference/shading_language.rst

@@ -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