Combine materials
Use this feature along with scene.mergePartOccurrences to combine part occurrences and their assigned materials.
Read time 1 minuteLast updated 21 hours ago
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.

- 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.
- Albedo
- Normals
- Opacity
- Roughness
- Specular
- Metallic
- Ambient occlusion
