This little tool helps you with creating flat shaded texture maps for
multi-material objects without going through the baking process. The add-on is
looking for the "Principled BSDF" node in each material and picks the base color
in order to color the tiles. It also translates and scales the UV-faces in order
to fit the different tiles.
This add-on is currently only working with Blender 2.80 because it is relying on
the Principled BSDF nodes in order to determine the color of the texture tile.
Just install the add-on as usual:
- Open Blender, go to Edit > Preferences > Add-ons
- Click the "Install..." button in the top right corner
- Choose the .zip file you have downloaded beforehand
- Check the checkbox in order to enable the add-on.
After installation you should find a new panel in the Properties > Material Tab.
Select an object with multiple materials assigned.
Be sure to unwrap your object before using the tool. After you select the
object, you can change the image size and tile size settings. The image size
is equal to the width / height of the resulting image. It is usually a good idea
to choose powers of 2 for the size.
Click "Generate Texture Atlas". You will find a new image in the image list on
the UV editor. Now you can save or export the image to your favorite
game engine :)
Issues and help
If you encounter any issues or bugs, please open an issue on GitHub: https://github.com/LuFlo/texture_atlas_generator/issues
Also feel free to suggests new ideas or open a pull-request if you are a coder :)