Combine materials
Use this feature along with scene.mergePartOccurrences to combine part occurrences and their assigned materials.
阅读时间1 分钟最后更新于 5 天前
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
