BlackMojito Posted December 22, 2017 Share Posted December 22, 2017 Hi Folks, I have a really stupid question about SubMesh. When and where do we need to create SubMeshes instead of a Mesh? In other world, what is the advantage of SubMesh compared to Mesh? I saw that OBJ loader create just one SubMesh under a Mesh and the Material is attached to the SubMesh instead of the Mesh. So, I am a little bit confused.. But I am sure there must be a reason. And what is the materialIndex stands for? It seems that its parent Mesh can only have one Material so that the index should always be zero? Thanks Quote Link to comment Share on other sites More sharing options...
JohnK Posted December 22, 2017 Share Posted December 22, 2017 No such thing as stupid questions on this forum. http://doc.babylonjs.com/how_to/multi_materials GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
BlackMojito Posted December 22, 2017 Author Share Posted December 22, 2017 1 hour ago, JohnK said: No such thing as stupid questions on this forum. http://doc.babylonjs.com/how_to/multi_materials Clear now. Thanks! 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.