Bake Materials
Combine all given renderers materials to one one baked material. UVs will be repacked and all renderers will share the same material.
Parameters
Parameter | Type | Description |
---|---|---|
mapsResolution | MapDimensions | Generated textures size. |
forceUVGeneration (Recreate UVs) | Boolean | Override existing UVs. |
resolution | Int32 | Output maps resolution |
Additional Information
Additionally to baking materials, you can also reduce draw calls by concatenating your model from multiple distinct elements into one unique GameObject, using the Merge action.
It won't produce geometric changes, skin and animation information is preserved, if any, but instances are lost.
The result is one mesh with one baked material from a set of different meshes with different materials assigned: