This page provides information about .vrscene format in V-Ray for Unreal.
VRayScene allows for assets to be shared between all platforms that run V-Ray. It loads a previously saved .vrscene file into V-Ray for Unreal and supports rendering geometry and materials.
For a step by step guide on how to import and use a .vrscene file, see the Intro Importing .vrscene QuickStart page.
Importing a .vrscene
The .vrscene file can be loaded from Unreal's Content Browser > Import button. The V-Ray Scene Import Options window opens.
Create Assets - Enables the creation of static meshes, materials and textures in the Content Browser.
Treat Y-axis for Up Vector - Enable this if your vrscene was generated from a software that has its Y-axis set as an up vector (e.g. Maya)
Use Full Proxy Mesh - When enabled, proxies will be imported as static meshes.
Create Actors - Enables the creation of actors in the level.
Create Nodes - Enables the creation of static meshes in the level.
Create Lights - Enables the creation of lights in the level.
Create Cameras - Enables the creation of cameras in the level.
Build Lighting - When enabled, the Build Lighting Only command is executed at the end of the import phase and Unreal begins lightmap baking.
Light map options
Big Resolution - Specifies the maximum number of big resolution (2048) lightmaps that can be set in the level (e.g. multiplier of 1 will result in 2 meshes that will have a lightmap resolution of 2048; multiplier of 2 will result in 4 meshes that have lightmap resolution of 2048).
Small Resolution - Specifies the multiplier for the number of low resolution (16) lightmaps that can be set in the level (e.g. multiplier of 0 will set the minimum lightmap resolution of a mesh to 8; multiplier of 1 will set the minimum lightmap resolution of a mesh to 16).
Importing displaced/smoothed meshes
When there is a displaced/smoothed mesh in your .vrscene a VRaySceneStaticMesh actor is created in the level. Inside the Details panel of the Actor is a Use VRay Scene Data checkbox. This checkbox enables the use of the static mesh data extracted from the .vrscene imported file at render time. In the Advanced section below the Static Mesh input is the extracted VRay Scene Data of the imported .vrscene file describing the displaced/smoothed mesh.
You can modify parameters and values in it to change, for example, the amount of the displacement or the shift amount.
Exporting a .vrscene
To export a .vrscene from the current Unreal project, navigate to the V-Ray Settings window > Common rollout > Advanced.
Export VRScene – Enables the export of a .vrscene file when the V-Ray render button is clicked.
Export VRScene Path – Directory where the .vrscene file is saved with the file name output.vrscene. Default directory is <Unreal_install_path>\UE_4.XX\Engine\Plugins\VRayForUnreal\Content
Compress – Compresses geometric information when Export VRScene is enabled, thus making the resulting .vrscene file is smaller.
Include Vrscene – Specifies a .vrscene file with various setting to be applied at render. For advanced users that are familiar with the .vrscene file structure.
In the the .vrscene format, all static meshes are considered actors in Unreal. Make sure to assign all supported materials directly to the actor, instead of the static mesh.
|Importing vrscene files|
3ds Max Physical Camera:
VRay Physical Camera
Textures with file format:
|Exporting vrscene files|
Unreal Materials supported expressions:
Unreal Materials supported Inputs:
Unreal Materials supported Blend Modes:
Unreal Materials supported Shading Modes:
Material Instances, V-Ray Material Instances with V-Ray Parent Materials:
Texture with Compression Settings:
Textures with file format: