Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MaterialId on multiMaterial #927

Merged
merged 4 commits into from
Feb 1, 2021

Conversation

pandaGaume
Copy link
Contributor

@pandaGaume pandaGaume commented Jan 29, 2021

On Multi-Material, when user set it's own id, we must access the id using Max meshNode.NodeMaterial.GetMaterialID(i) instead of assign sequential index Fix #926

On Multi-Material, when user set it's own id, we must access the id using Max meshNode.NodeMaterial.GetMaterialID(i) instead of assign sequential index
@Drigax Drigax merged commit c6f0a18 into BabylonJS:master Feb 1, 2021
@pandaGaume pandaGaume deleted the MultiMaterial branch April 30, 2021 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[3ds max] Export does not use the IDs defined on the multi-sub material.
2 participants