Jump to content

Shader Material does not implement isReadyForSubMesh? [Updating to 3.2]


gamefan
 Share

Recommended Posts

Hi,

I am planning to update from 3.1 and was trying the latest preview. Some of my babylonjs files did not render because I checked that the shader material did not override isReadyForSubMesh and the base class's method always returned false. This made my app stuck here because the scene would never be ready:

scene.executeWhenReady(function() {
     engine.runRenderLoop(function() {
         scene.render();
       });

});

Please help.

Link to comment
Share on other sites

This should not append as the engine check if material supports isReadyForSubMesh before calling it

Do you have a repro in the playground?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...