Browse Source

InstancedMesh: Add not about material sharing.

Mugen87 5 years ago
parent
commit
f1bd13a938
2 changed files with 6 additions and 0 deletions
  1. 3 0
      docs/api/en/objects/InstancedMesh.html
  2. 3 0
      docs/api/zh/objects/InstancedMesh.html

+ 3 - 0
docs/api/en/objects/InstancedMesh.html

@@ -17,6 +17,9 @@
 		objects with the same geometry and material but with different world transformations. The usage of [name] will help you
 		to reduce the number of draw calls and thus improve the overall rendering performance in your application.
 		</p>
+		<p>
+		The current implementation requires that materials are not shared between [name] and other 3D objects.
+		</p>
 
 		<h3>Examples</h3>
 

+ 3 - 0
docs/api/zh/objects/InstancedMesh.html

@@ -17,6 +17,9 @@
 		objects with the same geometry and material but with different world transformations. The usage of [name] will help you
 		to reduce the number of draw calls and thus improve the overall rendering performance in your application.
 		</p>
+		<p>
+		The current implementation requires that materials are not shared between [name] and other 3D objects.
+		</p>
 
 		<h3>Examples</h3>