|
@@ -69,7 +69,7 @@
|
|
|
sphere.material.diffuseColor = new BABYLON.Color3(Math.random(), Math.random(), Math.random());
|
|
|
sphere.material.specularColor = new BABYLON.Color3(Math.random() < 0.8 ? 0 : 1, Math.random() < 0.8 ? 0 : 1, Math.random() < 0.8 ? 0 : 1);
|
|
|
sphere.material.emissiveColor = new BABYLON.Color3(0, 0, 0);
|
|
|
- sphere.material.freeze();
|
|
|
+ // sphere.material.freeze();
|
|
|
sphere.freezeWorldMatrix();
|
|
|
spheres.push(sphere);
|
|
|
}
|