Skip to content

Mesh.MergeMeshes does not work correctly with multiple materials #408

Description

@ryantrem

If you create two meshes (e.g. Mesh.CreateBox) and they each have a different material, and then you merge them with Mesh.MergeMeshes([box1, box2], true, true, undefined, undefined, true) the geometry merges as expected, but you end up with a single material which looks kind of like one of the original materials but without the alpha (or something like that). Same thing works fine in the Babylon.js Playground.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions