Selaa lähdekoodia

Examples: Updated webgl_lod.

Mr.doob 4 vuotta sitten
vanhempi
commit
c9b5020cbf
2 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. BIN
      examples/screenshots/webgl_lod.jpg
  2. 5 5
      examples/webgl_lod.html

BIN
examples/screenshots/webgl_lod.jpg


+ 5 - 5
examples/webgl_lod.html

@@ -48,11 +48,11 @@
 
 				var geometry = [
 
-					[ new THREE.IcosahedronBufferGeometry( 100, 4 ), 50 ],
-					[ new THREE.IcosahedronBufferGeometry( 100, 3 ), 300 ],
-					[ new THREE.IcosahedronBufferGeometry( 100, 2 ), 1000 ],
-					[ new THREE.IcosahedronBufferGeometry( 100, 1 ), 2000 ],
-					[ new THREE.IcosahedronBufferGeometry( 100, 0 ), 8000 ]
+					[ new THREE.IcosahedronBufferGeometry( 100, 16 ), 50 ],
+					[ new THREE.IcosahedronBufferGeometry( 100, 8 ), 300 ],
+					[ new THREE.IcosahedronBufferGeometry( 100, 4 ), 1000 ],
+					[ new THREE.IcosahedronBufferGeometry( 100, 2 ), 2000 ],
+					[ new THREE.IcosahedronBufferGeometry( 100, 1 ), 8000 ]
 
 				];