V-Ray with 3Ds Max

Hi,

I’m trying to import a scene from 3Ds Max into Unity. The model get’s imported just fine. But the V-Ray textures won’t get along with Unity. I’m exporting from 3Ds Max to a FBX file and i’m getting error’s because of V-Ray. I’ve been trying to change the textures to a standard texture but then the quality goes down.

Is there a way to import 3Ds Max V-ray into Unity?

Best regards, SlwR

I don’t think there are such things as “V-Ray textures”. There are V-Ray materials which is entirely different. Pre-rendered CG and real-time are quite different things. You can’t expect to transfer your settings from a precalc file to a real-time environment and get the same result.

The only practical way to achieve a realistic global illumination in Unity with 3DSMax and VRay material is to bake the whole thing. It means you have to render the end result of V-Ray calculations into simple, plain textures to be used inside Unity. 3DSMax’s render-to-texture feature is your friend ! ^^

Hoi Krobill,

I meant to say V-Ray materials, mistake from my side. I was experimenting with texture baking but for some reason i went the other direction. I’ll take a step back and look into again, knowing this is the right way.

Thanks for the quick reply!

Best regards, SlwR

And there are script that can convert all vray_material to standard, but well things like gloss and such get lost i guess

Hi,

I’ve been working on the exporting part from 3ds max v-ray to unity. The exporting is working but the result isn’t the way i’d like it to be. The pictures below show a render from 3ds max scanline (after texture baking from v-ray) and one after importing the fbx file. Also tried it with the .max file but the exported textures gives the same result.

How can i fix this? How can i tell Unity to unwrap the models like 3ds max does?

587373--20917--$Texture_Baking_03_unity.jpg

Best regards, SlwR

Edit:

Hi pixelstudio,

I’ve found a script to make all the v-ray materials standard but it still keeps something in the material that gives an error on exporting to fbx. The fbx file and the .max file doesn’t show the texture on the box in Unity. I think the best way for this is to bake like Krobill said.

Edit:
I’ve fixed the problem, had to tell Unity to Swap UVs. Problem solved :slight_smile:
Thanks for the reply’s!

Edit:
It took me a while to fix this and getting it done. So i made a tutorial about it.
It can be downloaded: http://mazion.nl/Unity/Tutorial_3DsMax_Vray_Unity.pdf
Let me know what you think of it.

Thanks for posting the tutorial! Big help.

Hi there
I was wondering if you could possibly re-post the tutorial… I think It would help me out greatly…
Many thanks
Paul

Hi,

I’ve received a mail with the same question. Had to create a new account to post this message.
The download link works again and I’ve also added some files.

Tutorial: http://mazion.nl/Unity/Tutorial_3DsMax_Vray_Unity.pdf
Files: http://mazion.nl/Unity/V-Ray_Baking.zip

I hope it helps :slight_smile:

repost plz…man
this tutorial and files site is gone.