Browse Source

TSL: Fix billboarding examples in TSL.md (#33056)

James Wheare 20 giờ trước cách đây
mục cha
commit
2e3cf39fbb
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      docs/TSL.md

+ 3 - 3
docs/TSL.md

@@ -1483,11 +1483,11 @@ Example:
 ```js
 import { billboarding } from 'three/tsl';
 
-// Full billboarding (like particles) - faces camera in all directions
+// Default: Horizontal only (like trees) - rotates around Y axis only
 material.vertexNode = billboarding();
 
-// Horizontal only (like trees) - rotates around Y axis only
-material.vertexNode = billboarding( { horizontal: true, vertical: false } );
+// Full billboarding (like particles) - faces camera in all directions
+material.vertexNode = billboarding( { horizontal: true, vertical: true } );
 ```
 
 ## NodeMaterial

粤ICP备19079148号