Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Exporting from Substance Player to Unity

New Here ,
Apr 26, 2022 Apr 26, 2022

Unity expects the smoothness map (opposite of a roughness map I presume) to be in the alpha channel of either the metallic or base map. Is there any way to handle this in Substance Player? Maybe a script I can run rather than having to do it manually in Photoshop?

 

I use Substance Player for assets I download from the Adobe Substance 3D Assets. I can't seem to preview or export them in Substance Designer.

1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Apr 29, 2022 Apr 29, 2022

I would do it in Designer,

 

you wont be able to edit any archive files in designer (anything ending in sbsar) but you can still use them in designer and preview them.

 

Open an empty graph, drag and drop the archive you have downloaded into it, right click on it and select Create-OutputNodes this will give you a basic setup for export.

 

(you can also hold right click on that archive and drag it onto the mesh in the render window to get a preview)

 

Then you can pack it however you like, in the quick s

...
Translate
Participant ,
Apr 29, 2022 Apr 29, 2022

I would do it in Designer,

 

you wont be able to edit any archive files in designer (anything ending in sbsar) but you can still use them in designer and preview them.

 

Open an empty graph, drag and drop the archive you have downloaded into it, right click on it and select Create-OutputNodes this will give you a basic setup for export.

 

(you can also hold right click on that archive and drag it onto the mesh in the render window to get a preview)

 

Then you can pack it however you like, in the quick screen shot below I just inverted the roughness to make it smoothness added it to alpha channel of base color and plugged it into the output.

 

You will want a normal invert node as well as the substance files default to DirectX and Unity is OpenGL so just invert green channel is all that node does.

 

You can use RGBA merge node for any other type of packing you want, then just select the parent size you want and render it out.

 

Right click on the substance graph and select export outputs as bitmaps when you have it set up how you like.

Mark_Edwards_1-1651215582302.png

 

 

If you want to do loads and batch it I think you will have to do 2 step process, with sbsrender render out the default maps from the archive, then use those as inputs into your conversion node tree to do the packing and use sbsrender to run that, I don't think you can pass an archive as a input into another archive with sbsrender but might be wrong.

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 29, 2022 Apr 29, 2022

Also have a look at substance sampler that might be a better fit for you if you like using player, I just remembered as soon as I posted 🙂

get the archive in there you can send it direct from the asset site play around with as much as you like then choose export as and there's a range of unity and other engine default packing that will do all teh conversion for you.

 

Mark_Edwards_0-1651216275420.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 29, 2022 Apr 29, 2022
LATEST

Thanks for that Mark. I tried both methods and they work great. I might stick with the Designer workflow because you can save parameter presets.

 

quoteYou will want a normal invert node as well as the substance files default to DirectX and Unity is OpenGL so just invert green channel is all that node does.

 

That might explain why my normal maps are a bit weird in Unity 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines