carringtonW84 Posted April 8, 2015 Share Posted April 8, 2015 Hello,I would like to use the assetsManager to load asynchronously a BABYLON.CubeTexture, is it possible ?Thank you for your responses !Jérémy Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 8, 2015 Share Posted April 8, 2015 By default the cube texture is loaded asynchronously. You can check loading state by getting texture.isReady() carringtonW84 1 Quote Link to comment Share on other sites More sharing options...
carringtonW84 Posted April 8, 2015 Author Share Posted April 8, 2015 Thanks, it's ok now assetsManager.onFinish = function (tasks) { while(!textureStars.isReady()) setTimeout(function() { }, 50); engine.runRenderLoop(function () { scene.render(); }); }; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.