浏览代码

docs: material forceSinglePass (#25614)

TwoPassDoubleSide was deleted, `forceSinglePass` should set to `true` to disable the two pass rendering to avoid performance issuses.
Towrabbit 2 年之前
父节点
当前提交
2ccbd2cb67
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/api/en/materials/Material.html

+ 1 - 1
docs/api/en/materials/Material.html

@@ -134,7 +134,7 @@
 
 
 		The engine renders double-sided, transparent objects with two draw calls (back faces first, then front faces) to mitigate transparency artifacts.
 		The engine renders double-sided, transparent objects with two draw calls (back faces first, then front faces) to mitigate transparency artifacts.
 		There are scenarios however where this approach produces no quality gains but still doubles draw calls e.g. when rendering flat vegetation like grass sprites. 
 		There are scenarios however where this approach produces no quality gains but still doubles draw calls e.g. when rendering flat vegetation like grass sprites. 
-		In these cases, set the `forceSinglePass` flag to `false` to disable the two pass rendering to avoid performance issues.
+		In these cases, set the `forceSinglePass` flag to `true` to disable the two pass rendering to avoid performance issues.
 		</p>
 		</p>
 
 
 		<h3>[property:Boolean isMaterial]</h3>
 		<h3>[property:Boolean isMaterial]</h3>