|
@@ -25,6 +25,7 @@
|
|
|
|
|
|
|
|
<code>
|
|
<code>
|
|
|
const lod = new THREE.LOD();
|
|
const lod = new THREE.LOD();
|
|
|
|
|
+ const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
|
|
|
|
|
|
|
|
//Create spheres with 3 levels of detail and create new LOD levels for them
|
|
//Create spheres with 3 levels of detail and create new LOD levels for them
|
|
|
for( let i = 0; i < 3; i++ ) {
|
|
for( let i = 0; i < 3; i++ ) {
|