Page MenuHome

Blend2Unity
Open, NormalPublic

Description

Hi,

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

Limitations:

  • 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.

https://i.imgur.com/yOZipIu.gif
https://i.imgur.com/MT4hyZz.png
https://i.imgur.com/ht2Y0aT.png
https://i.imgur.com/nO6DnLj.png

Addon can be downloaded here:
https://gum.co/eXkfO
or from the attachment:

Details

Type
Patch

Event Timeline

Vuk Gardašević (lijenstina) triaged this task as Normal priority.