I came up with this addon while working on my recent project.
"Export to FBX" button allows to export models to FBX with proper transformation and preserved smoothing groups. It also sets the pivot on the lowest vertex and provides the possibility to export as one file or multiple files.
"Export texture set" button converts Roughness map to Smoothness as Base Color or Metallic alpha channel.
"Export unitypackage" allows to export model with textures (converted roughness to smoothness as alpha) to single *.unitypackage file
- To properly export Unity Package file you have to use Blender in version 2.79 and Principled BSDF shader. You will get best results with textures connected directly to Prinsipled BSDF node (without rgb curves, color ramp etc., normal map is an exception). The addon searches for maps connected into following inputs: Base Color, Metallic, Roughness, Normal
- Converting Roughness to Smoothness requiers a lot of calculations and it's a time consuming task (approximately 30 seconds for 4k texture) so don't worry if Blender will look like it stuck.
Addon can be downloaded here:
or from the attachment: