@@ -104,7 +104,7 @@ window.prepareFur = function() {
setValue("heightTexture", HTON ? heightTexture : null);
});
- registerRangeUI("fur", "Hight Level fur", false, true, function(value) {
+ registerRangeUI("fur", "High Level fur", false, true, function(value) {
setValue("highLevelFur", value);
setMeshesVisible(value);
}, function() {
@@ -132,7 +132,7 @@ var BABYLON;
}
onError();
};
- this.texture = new BABYLON.Texture(this.url, scene, this.noMipmap, this.invertY, this.samplingMode, onload, onError);
+ this.texture = new BABYLON.Texture(this.url, scene, this.noMipmap, this.invertY, this.samplingMode, onload, onerror);
return TextureAssetTask;
})();
@@ -173,7 +173,7 @@
- this.texture = new Texture(this.url, scene, this.noMipmap, this.invertY, this.samplingMode, onload, onError);
+ this.texture = new Texture(this.url, scene, this.noMipmap, this.invertY, this.samplingMode, onload, onerror);