1. var skyBoxGeometry = new THREE.BoxGeometry( 5000, 5000, 5000 );  
  2.   
  3. var texture = new THREE.TextureLoader().load("images/sky.jpg");  
  4.   
  5. var skyBoxMaterial = new THREE.MeshBasicMaterial( { map:texture, side: THREE.DoubleSide } );  
  6.   
  7. var skyBox = new THREE.Mesh( skyBoxGeometry, skyBoxMaterial );  
  8.   
  9. scene.add(skyBox);  

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-05-28
  • 2021-12-30
  • 2021-07-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
相关资源
相似解决方案