Skip to content

Multiple Materials in Nanite Mesh #4

@azpublic

Description

@azpublic

Hi Victor!

I was wondering if it was possible to have multiple materials in your runtime nanite mesh ?
The procedural mesh I am converting from does have multiple materials but when I convert it using the VoxelNaniteBuiilder they seem lost .. I tried fiddling by adding

// Optional - One material index per triangle
TConstVoxelArrayView MaterialIndices;

to the FMesh struct and modifying your pipeline a bit to handle the materials but to no success so far ...

Maybe I'm just doing something wrong or not seeing something obvious in your default pipeline .. .

Thanks for any help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions