ozRocker Posted February 19, 2017 Share Posted February 19, 2017 I've exported a mesh from Blender that has 2 materials but I don't know how to access the 2nd material in javascript. The "subMaterials" array has length of 2 but the 2nd element is null. The .babylon file mentions the 2 materials. "multiMaterials":[{"name":"netball.Multimaterial#0","id":"netball.Multimaterial#0","materials":["netball.matBodymat","netball.matOutfitmat"]}], Do I need to do something special in Blender to make this work? Quote Link to comment Share on other sites More sharing options...
ozRocker Posted February 19, 2017 Author Share Posted February 19, 2017 Ok, it was my fault. I was editing the .babylon file by hand and removed the 2nd material definition. FALSE ALARM! GameMonetize 1 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.