Jump to content

Unexpected behavior with multi-materials


JonVarner
 Share

Recommended Posts

While using multimatierals the other day I noticed some strange behavior on ios. In our scene we have an object with several materials applied to it. Then as part of the animation we swap out textures on those materials to create the page turning and so on. While this works great on all the other devices when we tried it on iOS it simply reverts to the first texture for all materials. We tried both PBR and standard shaders and the same issue appeared on both. Any ideas what might be causing this?

Playground Example:

http://www.babylonjs-playground.com/#X6JQZ#16

Note: to play the animation simply click on the FPS counter at the top right.

 

 

Link to comment
Share on other sites

Do not know, but can confirm it does not do the same thing as desktop using 9.3.2.  There have been texture issues with iOS 10, so I did not update (forgot my store password too, & you can not update without it).

You PG is a nice demo, but as an error case it has too many page flips & too fast for me.  I only see it is wrong.

Link to comment
Share on other sites

Ok yeah awsome. I went to set up the playground as Deltakosh requested an realized that all was ok with a simple model with a couple of joints and was coming to a similar conclusion. :)

But again guys thank you so much. I will cut back on the number of bones for sure but is there a "safe" number?

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...