I do use my own logo for the loading screen:
loadingScreen = new BABYLON.DefaultLoadingScreen(canvas, "V0.01");
loadingScreen.DefaultLogoUrl = "./textures/osm2world_logo.png"; // Static! write ok, but not used
this.engine.loadingScreen = loadingScreen;
The loadingText works fine, but not the DefaultLogoUrl
In babylon.max.js
Engine.prototype.displayLoadingUI in Engine.prototype.displayLoadingUI
the user loadingScreen is used, at first:
var loadingScreen = this.loadingScreen;
if (loadingScreen) {
loadingScreen.displayLoadingUI();
But in DefaultLoadingScreen.prototype.displayLoadingUI
only this._loadingText; is used form the user; the logo is hardcoded “default” not “this”:
DefaultLoadingScreen.DefaultLogoUrl)
I assume, both should be handled by the same concept.
My nasty work around:
BABYLON.DefaultLoadingScreen.DefaultLogoUrl = "./textures/osm2world_logo.png";