Hi everyone,
I found a regression in v9.15.0 with the Atmosphere PBR material plugin.
When dynamically creating a mesh with an atmosphere-enabled PBR material, the mesh will not render in the same frame it is created. This is caused by _loadShaderIncludesAsync — the required shader includes are loaded asynchronously, so the material isn’t fully prepared for the first frame’s render.
My use case requires these dynamically created meshes to render immediately in their creation frame, with zero frame delay.
Is there a recommended way to handle this in v9.15.0+? For example, a preload API or a public promise we can await to ensure all shader includes are ready before rendering?
Thanks.