@@ -23,7 +23,7 @@
this.forceProjectionMatrixCompute();
}
- private _shadowOrthoScale = 0.5;
+ private _shadowOrthoScale = 0.1;
/**
* Gets the shadow projection scale against the optimal computed one.
* 0.1 by default which means that the projection window is increase by 10% from the optimal size.
@@ -798,12 +798,12 @@
vertexData.applyToMesh(ground, updatable);
- ground._setReady(true);
-
//execute ready callback, if set
if (onReady) {
onReady(ground);
+
+ ground._setReady(true);
};
Tools.LoadImage(url, onload, () => { }, scene.database);
@@ -477,10 +477,10 @@
return;
- this._isReady = true;
if (this.onReady) {
this.onReady(this);
+ this._isReady = true;
@@ -386,7 +386,7 @@
},
{
"title": "Instances",
- "renderCount": 2,
+ "renderCount": 50,
"scriptToRun": "/Demos/Instances/instances.js",
"functionToCall": "CreateInstancesTestScene",
"referenceImage": "instances.png",