This page provides a step-by-step introduction to V-Ray for Unreal.
Page Contents
|
To download the files used in this tutorial, please click on the button below.
You can right-click the download button and choose "Save Link As..." or "Save target as.." depending on your browser.. This will bring up a dialog to save the zip file without having to wait for the Preview mode to load. |
From 3ds max make sure you are looking through the camera you wish to render later in Unreal (1.1). Then you right click and select from the quad menu .vrscene exporter. A new window appears and where you select the export path and other various options. When finished click export (1.2). With this our vrscene is generated and we are ready to import it into Unreal engine.
|
Launch you version of Unreal from the Epic Games Launcher. (currently supported versions are 4.18.3 and 4.19)(1.1). A window appears. In the New Project Tab select the Blank template, Desktop/Console hardware, Maximum quality for the Editor and No Starter Content as initial setup. Choose the directory where you wish to create the project, name it and click the Create Project button (1.2).
|
When you create a project you must first enable the V-Ray plugin. From "Edit/Plugins" enable the VRayForUnreal plugin. You will need to restart Unreal for this to take effect.(2.1)
|
Next create a new level by going to File > New Level > Empty Level (3.1). In the Content Browser create a new folder, name it VRayInteriorDemo and open it. Next click on the Import Button, navigate to the path where you generated the vrscene file and open it (3.2). The V-Ra Scene Import Options dialogue appears (3.3). Use default values and click Import.
|
Now do a test light bake to get a feel of the lighting in the scene. The scene contains one VRay Light Dome with an HDRI image plugged into the Dome Tex slot (4.1). Make sure to be on Preview in the Lighting quality to speedup the baking process (4.2). To do a test light bake go to Build options menu > Build Lighting Only (4.3).
|
In order to have maximum visual parity between viewport and final render you have to disable some of the Unreal posprocess and lighting components. You can do so from in viewport Show > Post Processing and leave only Postprocess Material (5.1) . From Show > Lighting Component uncheck Ambient Occlusion (5.2).
|
To render an image from Unreal using V-Ray make sure in the viewport you are looking from the camera (1.1) To render the image click the V-Ray button in the toolbar (1.2) (1.3).
|
As you can see the render begins filling in over time. Once we get past the earlier passes, we can fine tune the render without the need for external photo editing applications while the render continues to a cleaner and cleaner result.
In the VFB, open up the Show Corrections Control panel by clicking on the icon at the bottom right of the window (2.1). Here you'll be able to fine-tune the render by turning on and manipulating the parameters. Tune down the Highlight Burn in the Exposure tab. Adjust the White Balance to turn down the warmth in the image (2.2). For more details see documentation on V-Ray Frame Buffer.
|
Check the final result with and without to see the difference (2.3).
|
Now that the render’s done, from the VFB by click the Save button and select any of these image formats. We’ll select JPG here.
|