Jump to content

Best PBR workflow setup for 3DMax to Babylon


dsman
 Share

Recommended Posts

How to perfectly set up all possible PBR properties (channels and values supported by Babylon PBR material ) in 3D max such that it exports to Babylon perfectly in a manner that uses the full potential of Babylon PBR materials? (Without requiring to set any PBR properties by code or by using editor.babylonjs.com )

I am basically looking for best workflow method for producing realistic Babylon scenes (which have PBR materials for all meshes) using 3D Max.

Any common pitfalls/suggestions/tips ?

 

 

Link to comment
Share on other sites

@Deltakosh   Thanks for quick reply. I checked that page. But I missed the line "Involved parameters are highlighted bellow and described in following sections."

One of the reasons for my question was basically trying to understand what properties to set in Max and what is ignored by the exporter.  That is already answered in that screenshot with red highlighted properties. 

If someone has used PBR extensively and can share their experience of common pitfalls to avoid and common tips, it would be great. 

Link to comment
Share on other sites

We've done a lot of experimenting on PBRs in the last little while.  They work great and the linked article explains things well there are a couple of caveats right now.

The 3DS max exporter exports ambient occlusion to it's own Map - babylon supports having AO in the R channel of your MetallicRoughnessMap - Substance Painter does this automatically saving you a file to load.

There's a currently a bug in the export that if you use GLTF as your export format then camera animations are not added to the camera object - if you export as .babylon file it works fine.

Also when loading your PBR material you need to make sure your camera settings are correct in Babylon here are ours:

scene.imageProcessingConfiguration.contrast = 1.6;
scene.imageProcessingConfiguration.exposure = 0.6;
scene.imageProcessingConfiguration.toneMappingEnabled = true;

Also to get the most out of your PBRs you need a nice EnvironmentTexture.  You can save yourself some pain by setting the 'environmentTexture' property of your Babylon scene object to your texture.  This will automatically apply it to all the materials in the scene.  I believe the exporter was recently changed to do this automatically but I've yet to test it.

 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...