docs.unity3d.com
Version: 

    Combine materials

    API function: algo.combineMeshes

    Use this feature along with scene.mergePartOccurrences to combine part occurrences and their assigned materials. The result is a similar looking model, but the number of draw calls is reduced.

    These operations are performed:

    • Geometries are merged, but they aren't modified.
    • Texture coordinates are combined and repacked into a single atlas.
    • Material information is transferred to a single set of textures. This set is used by a single material that's applied to the combined mesh.

    You can regenerate texture coordinates.

    This feature bakes these maps:

    • Albedo
    • Normals
    • Opacity
    • Roughness
    • Specular
    • Metallic
    • Ambient occlusion

    The output material contains the packed textures atlas:

    Version 2025.2.0.1
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.