Generate
Last updated
Last updated
This section allows choosing what files are generated using VAOG tool.
Prefab - After calculating AO, new prefab file is generated that is full clone of the source gameObject, but with new meshes with AO baked inside and optionally with new material for displaying AO.
Mesh Only - Only meshes with AO baked inside are generated.
Overwrite Original Mesh - No new meshes are created, instead calculated AO is saved in the original mesh file. In this case only meshes in .asset format affected.
Be careful - overwritten meshes can't be Undo.
Combine - Allows combining generated meshes:
Nothing - Meshes are not combined.
Submeshes - Combines all submeshes inside source meshes into one.
One Mesh With Submeshes - Combines all meshes in the selected gameObject's hierarchy into one mesh, but each one is saved as a separate submesh (original submeshes are also preserved).
Everything - Combines all meshes in the selected gameObject's hierarchy into one mesh, with one submesh.
Only meshes from the MeshFilters can be combined.
SkinnedMeshRenderers cannot be combined.
Material - If generating prefab, allows to choose what type of material it will use:
Use Original - Generated prefab uses the same materials as the source gameObject.
Add/Replace Collider - Allows adding component to the generated prefab or updating it (if source gameObject already has it) with the newly generated mesh.
Create New - Creates new material using selected shader and it is used by all of the new prefab. Material is saved in the same folder as the generated meshes and prefab.
Create Duplicate - All materials used by the of the source gameObject are duplicated and replaced in the prefab. Duplicated materials are saved in the same folder as the generated meshes and prefab.