Bake all textures and materials into 1 - Good for game engine.

Issue #789 closed
bouich jules created an issue

Hello,

I just was wondering if it’s possible to have this function, currently to move using the plugin daz character /environment from blender to unreal engine we have to redo the materials/texture one by one.

i was wondering if it’s possible a function merge all textures into 1 big textures. that will be a 1 click export to game engines.

Thank you.

Comments (3)

  1. Thomas Larsson repo owner

    You can Make a UDIM Material if the game engine supports that, see https://diffeomorphic.blogspot.com/p/finishing-section-version-16.html. You can use that to merge all skin (or skin-nails-lips) materials. You could even merge all materials to a single one, but you probably want to distinguish the skin materials from the eye materials, since the shaders are very different.

    Edit: Of course the format you use to export to the game engine must support udims. Not sure if fbx does that on both ends.

  2. Alessandro Padovani

    You will lose most materials this way. It is possible to merge textures but not to merge materials. This is a common misconception.

    Game assets are designed with textures from the start. You use a single uber shader then paint materials with textures. Then daz assets don’t work this way, they use textures as a support for materials and not the other way around. The best you can do is to use the principled option to import a sort of uber shader. Then merge materials but not all the materials will be merged, only those that are the same. At this point yes you can merge all the diffuse textures together for example.

    As a side note daz studio also has an option to merge textures that’s the texture atlas addon. So you can merge in daz then export to blender. But baking in blender is more efficient in my opinion.

    Beginners Guide to Baking | part 6 | Multiple textures into 1 | Blender 2.8 - YouTube

  3. Log in to comment