Skip to content

Simple plugin that helps you bake several meshes to one in couple clicks.

Notifications You must be signed in to change notification settings

wilk-polarny/UnitySimplestMeshBaker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Simplest Mesh Baker is a small plugin that helps you bake several meshes to one in couple clicks.

Download from Asset Store

Example

In addition, it contains a Bone Baker. It is a simple wrapper over SkinnedMeshRenderer.BakeMesh() method, which allows you to convert SkinnedMeshRendered to MeshRenderer considering transformations and poses.

Supported Unity versions: 5.6.3 or higher

How to use

To install it, copy the Simplest Mesh Baker folder to your project.


To bake the Meshes, select GameObjects with MeshRenderer or SkinnedMeshRenderer components on it or its children, make a right click and press Bake Meshes.

One Mesh can't contain more than 65,000 vertices, so if source meshes together have more than 65,000 vertices, Simplest Mesh Baker will create several objects.

The plugin will ask you: "Do you want to separate objects with different materials?". If you choose "Yes" Simplest Mesh Baker will bake source objects with different materials to the separated Meshes. If "No" Simplest Mesh Baker will bake all the meshes together and set one of the source materials for it.

Also if several but not all meshed use UVs, Vertex Colors, or Normals Simplest Mesh Baker will ask how to resolve it. You can remove it from all objects or create with default values where it needed.

Then Simplest Mesh Baker will ask you: "Do you want to remove sources?". Click "Yes" if so, or "No" if you want to leave these objects for now.

Then the plugin will show a popup with the number of baked objects.


To use Bones Baker, select GameObjects with SkinnedMeshRenderer components on it or its children, make a right click and press Bake Bones. The plugin will ask you: "Do you want to remove bones after backing?". Press "Yes" if so, or "No" if you want to leave bones for now.

YouTube Tutorials

How to Bake Meshes

How to Bake Bones

About

Simple plugin that helps you bake several meshes to one in couple clicks.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%