Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width45%

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.

Column
width5%

 

Column
width50%
Align
alignright
HTML
<iframe width="640" height="480" src="https://www.youtube-nocookie.com/embed/FyYTVSsESIc?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Importing a .vrscene

...

Section
Column
width45%

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).

Column
width5%

 

Column
width50%


Importing displaced/smoothed meshes

...

Section
Column
width45%

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.

Column
width5%
 
Column
width50%
Align
alignright
HTML
 <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/qyqNKOzZXmM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

 

Exporting a .vrscene

...

Section
Column
width45%

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.

Column
width5%

 

Column
width50%

 

...

Supported Features

...

 

Section
Column
width50%
Importing vrscene files
Cameras

3ds Max Physical Camera:

Fancy Bullets
typecircle
  • Film/Sensor - Preset; Width
  • Lens - Focal Length; Specify FOV; Aperture;; Custom Focus Distance
  • Shutter - Type 1/seconds; Duration
  • Exposure Gain - Manual
  • White Balance Custom

VRay Physical Camera

Fancy Bullets
typecircle
  • Focus Distance; Target Distance; Field of view; Film gate; Focal length; Film Speed (ISO); F-number; Shutter speed(s^-1); Exposure; Custom White balance
Geometry
Fancy Bullets
typecircle
  • Triangle meshes
  • VRayProxy - initial support, no animated meshes
  • UV channels 0, 1, 2, 3
  • Initial support for displaced/smoothed meshes
Lights

3ds Max

Fancy Bullets
typecircle
  • Standard
    • Spotlight - Light - On/Off; Shadows - On/Off; Multiplier; Decay type - None, Inverse Square; Hotspot; Falloff
    • Omni - Light - On/Off; Shadows - On/Off; Multiplier; Decay type - None, Inverse Square
    • Direct - Light - On/Off; Shadows - On/Off; Multiplier
  • Photometric
    • Photometric web - Light - On/Off; Shadows - On/Off; Photometric Web profile; Filter Color; Intensity in lumens
  • V-Ray
    • Dome light - Light - On/Off; Units - Default image; Multiplier; Color; Texture
    • Sphere light - Light - On/Off; Color; Units - Default image, Luminous power; Multiplier; Cast Shadows - On/Off
    • Rectangle light - Enabled - On/Off; Light color; Intensity multiplier; Units - Default image, Lumens; Shadows - On/Off
    • IES light - Enabled - On/Off; IES file; Cast shadows - On/Off; Color; Intensity type - lumens
    • Sun - Enabled - On/Off; Turbidity; Sky model - Hosek et al.

Maya

Fancy Bullets
typecircle
  • V-Ray
    • Dome light - Enabled - On/Off; Light color; Intensity multiplier; Dome Tex
    • Sphere light - Enabled - On/Off; Light color; Intensity multiplier; Units - Default image, Lumens; Shadows - On/Off
    • Rectangle light - Enabled - On/Off; Light color; Intensity multiplier; Units - Default image, Lumens; Shadows - On/Off
    • IES light - Enabled - On/Off; IES File Name; Light color; Intensity; Shadows - On/Off
    • Sun - Enabled - On/Off; Turbidity; Sky Model - Hosek et al.

 

Materials
Fancy Bullets
typecircle
  • VRayMtl
  • VRay2SidedMtl
  • VRayBumpMtl
  • VRayLightMtl
Textures 

3ds Max

Fancy Bullets
typecircle
  • Bitmap
  • VRayHDRI
  • VRayNormalMap

Maya

Fancy Bullets
typecircle
  • File
  • Gamma

Textures with file format:

Fancy Bullets
typecircle
  • .bmp
  • .png
  • .tga
  • .jpg
  • .hdr
Other
Fancy Bullets
typecircle
  • 3ds Max Exposure Control
  • VRay Exposure Control
Column
width50%
Exporting vrscene files
Cameras

Unreal

Fancy Bullets
typecircle
  • Camera Actor - Transformations
  • Cine Camera Actor - Transformations

VRay

Fancy Bullets
typecircle
  • VRayPhysicalCamera BP
    • Current Camera Settings - Sensor Width, Sensor Height; Focus Method; Manual Focus Distance; Current Focal Length
    • V-Ray Physical Camera Settings - 3ds max Compatible; Enable Exposure; Film Speed(ISO); Shutter Speed S^-1; F-number; White Balance
    •  Color Mapping - Reinhard Burn Value
Geometry
Fancy Bullets
typecircle
  • Static Meshes
  • Blueprint Actors with Static Meshes
  • Foliage
Lights

Unreal

Fancy Bullets
typecircle
  • Point Light - Intensity; Light Color; Intensity Units - Unitless, Candelas, Lumens; Source Radius; Affects World; Cast Shadows; Use Inverse Squared Falloff
  • Spot Light - Intensity; Light Color; Intensity Units - Unitless, Candelas, Lumens; Inner Cone Angle; Outer Cone Angle; Source Radius, Affects World; Cast Shadows; Use Inverse Squared Falloff; IES Texture
  • Directional Light - Intensity; Light Color; Affects World; Cast Shadows; Light Source Angle

V-Ray

Fancy Bullets
typecircle
  • VRaySunAndSky BP - Auto Update; Elevation; Azimuth; On; Turbidity
  • VRayLightDome BP - On; Use Dome Tex; Dome Tex; Dome Tex Rotation; Dome Color; Intensity; Auto Update
  • VRayLightRect BP - Enable, Is Disc, Length/Radius, Width, Multiplier, Cast Shadows, Color, Invisible
Materials

Unreal Materials supported expressions:

Fancy Bullets
typecircle
  • Constant
    • Constant
    • Constant2Vector
    • Constant3Vector
    • Constant4vector
  • Coordinates
    • TextureCoordinate
    • Rotator
  • Functions
    • FunctionInput
    • FunctionOutput
    • StaticBool
    • StaticSwitch
  • Material Attributes
    • BreakMaterialAttribute
    • MakeMaterialAttribute
  • Math
    • Abs
    • Add
    • AppendVector
    • Ceil
    • Clamp
    • ComponentMask
    • Cosine
    • CrossProduct
    • Divide
    • DotProduct
    • Floor
    • Fmod
    • Frac
    • If
    • LinearInterpolate
    • Max
    • Min
    • Multiply
    • Normalize
    • OneMinus
    • Power
    • Round
    • Saturate
    • Sign
    • Sine
    • SquareRoot
    • Subtract
    • Truncate
  • Parameters
    • ScalarParameter
    • StaticBoolParameter
    • StaticSwitchParameter
    • VectorParameter
    • TextureObjectParameter
    • TextureSample2DParameter
  • Texture
    • TextureObject
    • TextureSample
  • Utilities
    • Desaturate
    • Distance
    • Fresnel
  • VectorOps
    • CameraVectorWS
    • PixelNormalWS

Unreal Materials supported Inputs:

Fancy Bullets
typecircle
  • Base Color
  • Metallic
  • Specular
  • Roughness
  • Emissive Color
  • Opacity
  • Opacity Mask
  • Normal

Unreal Materials supported Blend Modes:

Fancy Bullets
typecircle
  • Opaque
  • Masked
  • Translucent

Unreal Materials supported Shading Modes:

Fancy Bullets
typecircle
  • Unlit
  • Default Lit

Material Instances, V-Ray Material Instances with V-Ray Parent Materials:

Fancy Bullets
typecircle
  • VRayMtl
  • VRayCarpaintUberMtl
  • VRayPBRMtl
Textures 

Texture with Compression Settings:

Fancy Bullets
typecircle
  • Default
  • Normalmap
  • Grayscale
  • HDR

Textures with file format:

Fancy Bullets
typecircle
  • .bmp
  • .png
  • .tga
  • .jpg
  • .hdr
Render Elements
Fancy Bullets
typecircle
  • Denoiser (NVidia Ai, V-Ray)
  • Background, GI, Lighting, Reflection, Refraction, Specular, Self Illumination, Sub Surface Scattering 1
  • Diffuse Filter, Reflection Filter, Refraction Filter, Shadows
  • RenderID
  • Normals, Bump Normals, Sampler Info, Velocity, ZDepth
  • Light Select
  • Sample Rate, Unclamped Color, Noise Level
Other
Fancy Bullets
typecircle
  • Sequencer animation with Static Meshes