BlackMojito Posted April 10, 2018 Share Posted April 10, 2018 It seems that when isReady returns true for a material, the texture is not necessarily ready. It needs to render several frames more to have the texture displayed... babbleon 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted April 10, 2018 Share Posted April 10, 2018 There is a callback for texture load, but not available when coming from a .babylon. It is specified in the BABYLON.Texture constructor. An isReady or polling is less desirable, but the ultimate is checking this for the mesh you have in mind. Loading the texture is not the final step anyway. It is the compiling of the shader that uses it. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2018 Share Posted April 10, 2018 Actually there is a way now You can use onLoadObservable: https://www.babylonjs-playground.com/#X86U35 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.