Can't get texture.isReady() for HDR texture

Hello there,

When I use a hdr texture in my project, I can’t get callback for the function below.

Question

But env and dds texture both works well. So what happened on the hdr texture?

HDRCubeTexture does not implement onLoadObservable required by the helper WhenAllReady which is currently only used internally.

Other textures like RTT would not work as well.

I will try to address this ASAP.

PR is up it will be in the next nightly Fix babylon worker and texture WhenAllReady by sebavan · Pull Request #11457 · BabylonJS/Babylon.js · GitHub

1 Like

Thanks! :grinning: