Vray to Blender PBR/FBX

Im often exporting models from 3dsmax to Blender and this is a fast way to import the models so that the material is automatically converted and imported into Blender with PBR materials applied with correct default settings.

What does it do?

It takes a Vray Material with Roughness workflow, converts it to Standard (Legacy) material and is ready for export to FBX. You can extend on the script or modify it for your needs. This is the workflow:

Blender to GLB/GLTF for real-time:

A secondary benefit to this workflow is that once the file is imported into Blender as FBX it can be directly exported to GLB/GLTF for real-time workflow. If you want to include ambient occlusion you will have to do this manually for now. I might create a script in future, no promises on that one since its usually very simple with two additional nodes in the shader editor as shown in the Blender manual.

Converts:

  • Diffuse texture, Diffuse Color, VrayColor in Diffuse
  • Roughness texture
  • Metal texture
  • Opacity texture
  • Normal texture
  • Normal DirectX to OpenGL (3dsmax uses DirectX & Blender uses OpenGL, its done via naming convention – Optional)
  • Sets the correct Specular level for Blender
  • Sets Reflection to White
  • Sets Dielectric or Metallic material for Blender (depending on if Metal texture is used)
  • Sets Gamma settings for sRGB and Linear images
  • Can convert VrayMtl, Vray2SidedMtl, Multi-Material. You can edit the functions in the script to add more material types if you use them

Export Options in FBX:

Comparisons:

3dsmax Vray Roughess Material:

Standard (Legacy) Material – Converted with Script

Blender Principled BRDF Shader – Imported FBX (Automatic Settings)

Download the maxscript here

Vella Avatar

Published by

15 responses to “Vray to Blender PBR/FBX”

  1. […] James Vella has published a free script to help artists convert V-Ray materials to Blender Principled BRDF materials. Find out more on James’ website.  […]

  2. […] hierfür zu erstellen, verspricht jedoch vorerst nichts. Alles Weitere zum Script erfahrt ihr auf jamesvella.wordpress.com, den Download findet ihr auf […]

  3. wouaba Avatar
    wouaba

    please can we have a video of you showing step by step how to use it pleaaaaaaase

  4. Vella Avatar

    Sure, I can do that 🙂

  5. wouaba Avatar
    wouaba

    thanks.because when i select the object and press the script icon,i have no reaction from 3dsmax.I don’t understand why

    1. Vella Avatar

      Check the listener and see if you get an error message. Copy and paste that here.

  6. wouaba Avatar
    wouaba

    please can give me the answer.i’m getiing sick boss

  7. wouaba Avatar
    wouaba

    the listener is blank after i try to use it

  8. wouaba Avatar
    wouaba

    there is no error

    1. Vella Avatar

      upload a screenshot of your material setup. Are the materials using the Roughness BRDF workflow?

  9. wouaba Avatar
    wouaba

    yes most of the textures use brdf workflow

    1. Vella Avatar

      Show a screenshot of your material, they need to use the Roughness workflow, not Glossiness workflow.

  10. David Rohr Avatar

    Hi Vella,
    Here to revive this trail that unfortunately didnt really go any where first time around with wouaba
    First off, that video tutorial would be a god sent for an absolute n00b like me.
    Second, I got pretty much the same issue. Open listener, try to run the script and nothing seem to happen. I go check the Vray materials and make sure they kinda match your settings and still nothing. I get that error message when I export to FBX that physical materials didnt export properly (running Max 2023 btw)
    I got the screenshot you asked for though I dont know if you’ll find anything there. I cant seem to attach it here, but happy to mail it over if you message me.
    I switched the materials from BRDF glossiness to roughness and Translucency to none cause thats the only thing I could think of to try to match what you described (not that I have a clue what any of that stuff means) still. nothing.
    Please help.

    1. Vella Avatar

      Hi David, yes please email me and we can go over any issues you have encountered. You can use the contact me at the top of the page.

      By the way, the video will be released tomorrow. However if you need further support please dont hestiate to contact me so we can resolve your issue, as this may affect other people as well.

      1. Vella Avatar

        Hey David, try the updated script to see if that solves your problem, otherwise you can contact me directly. Also you can watch the video here on how to use it https://youtu.be/0FT6Fok-MtY

Leave a reply to 3ds Max to Blender PBR Converter – CGBucket Cancel reply