소스 검색

Update Material.html

Michael Herzog 2 년 전
부모
커밋
fbd3ef9419
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/api/zh/materials/Material.html

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

@@ -113,7 +113,7 @@ Whether double-sided, transparent objects should be rendered with a single pass
 
 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. 
-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>
 
 <h3>[property:Boolean isMaterial]</h3>