© Bertrand Benoit

Table of Contents

This page provides information on the native Unreal Materials and Material Instances.


Overview



V-Ray for Unreal support the rendering of native Unreal Materials and Material Instances. Materials are used to calculate how light interacts with surfaces. These calculations are done using incoming data that is input to the Material from a variety of images (textures) and math expressions, as well as from various property settings inherent to the Material itself. Each time a change is made in the material it has to recompile which can be very time consuming depending on the complexity of the shading graph. Material instancing is used to change the appearance of a Material without incurring an expensive recompilation of the Material using predefined parameters. For more information on Unreal Materials and Material Instances check the Materials documentation.



Supported Expressions


Below are listed the expressions in the Material Editor that are supported by V-Ray for Unreal.

Native Unreal Materials are supported in Hybrid rendering. Make sure you meet the System Requirements.




Expression NameSupport
AtmosphericFogColor
NOT SUPPORTED
Expression NameSupport
Constant
SUPPORTED
Constant2Vector
SUPPORTED
Constant3Vector
SUPPORTED
Constant4Vector
SUPPORTED
DistanceCullFade
NOT SUPPORTED
ParticleColor
NOT SUPPORTED
ParticleDirection
NOT SUPPORTED
ParticleMotionBlurFade
NOT SUPPORTED
ParticleRadius
NOT SUPPORTED
ParticleRelativeTime
NOT SUPPORTED
ParticleSize
NOT SUPPORTED
ParticleSpeed
NOT SUPPORTED
PerInstanceFadeAmount
NOT SUPPORTED
PerInstanceRandom
NOT SUPPORTED
Time (info)
PARTIAL
TwoSidedSign
SUPPORTED
VertexColor
SUPPORTED
View Property (info)
PARTIAL
Precomputed AO Mask
NOT SUPPORTED
Expression NameSupport
LightmapUVs
NOT SUPPORTED
 ObjectRadius
SUPPORTED
Panner
SUPPORTED
ParticlePositionWS
NOT SUPPORTED
Rotator
SUPPORTED
SceneTexelSize
NOT SUPPORTED
ScreenPosition
SUPPORTED
TextureCoordinate (info)
PARTIAL
ViewSize
NOT SUPPORTED
WorldPosition
 SUPPORTED
Expression NameSupport
Custom
NOT SUPPORTED
Expression NameSupport
DepthFade
NOT SUPPORTED
 PixelDepth
SUPPORTED
SceneDepth

NOT SUPPORTED

Expression NameSupport
FunctionInput
SUPPORTED
FunctionOutput
SUPPORTED
MaterialFunctionCall
SUPPORTED
StaticBool
SUPPORTED
StaticSwitch

SUPPORTED

Expression NameSupport
BreakMaterialAttributes
SUPPORTED
GetMaterialAttributes
SUPPORTED
MakeMaterialAttributes
SUPPORTED
SetMaterialAttributes

SUPPORTED

Expression NameSupport
Abs
SUPPORTED
Add
SUPPORTED
AppendVector
SUPPORTED
 Arccosine
SUPPORTED
ArccosineFast (info)
PARTIAL
 Arcsine
SUPPORTED
ArcsineFast (info)
PARTIAL
 Arctangent
SUPPORTED
 Arctangent2
SUPPORTED
Arctangent2fast (info)
PARTIAL
ArctangentFast (info)
PARTIAL
Ceil
SUPPORTED
Clamp
SUPPORTED
ComponentMask
SUPPORTED
Cosine
SUPPORTED
CrossProduct
SUPPORTED
Divide
SUPPORTED
DotProduct
SUPPORTED
Floor
SUPPORTED
Fmod
SUPPORTED
Frac
SUPPORTED
If
SUPPORTED
LinearInterpolate
SUPPORTED
Logarithm10
NOT SUPPORTED
 Logarithm2
SUPPORTED
Max
SUPPORTED
Min
SUPPORTED
Multiply
SUPPORTED
Normalize
SUPPORTED
OneMinus
SUPPORTED
Power
SUPPORTED
Round
SUPPORTED
Saturate
SUPPORTED
Sign
SUPPORTED
Sine
SUPPORTED
SquareRoot
SUPPORTED
Subtract
SUPPORTED
 Tangent
SUPPORTED
Truncate

SUPPORTED

Expression NameSupport
CollectionParameters
NOT SUPPORTED
DynamicParameter
NOT SUPPORTED
FontSampleParameter
NOT SUPPORTED
ScalarParameter
SUPPORTED
StaticBoolParameter
SUPPORTED
StaticSwitchParameter
SUPPORTED
StaticComponentMaskParameter
NOT SUPPORTED
VectorParameter
SUPPORTED
TextureObjectParameter
SUPPORTED
TextureSampleParameter2D
SUPPORTED
TextureSampleParameterSubUV
NOT SUPPORTED
TextureSampleParameterCube
NOT SUPPORTED
TextureSampleParameterMovie

NOT SUPPORTED

Expression NameSupport
DynamicParameter
NOT SUPPORTED
ParticleColor
NOT SUPPORTED
ParticleDirection
NOT SUPPORTED
ParticleMacroUV
NOT SUPPORTED
ParticleMotionBlurFade
NOT SUPPORTED
ParticlePositionWS
NOT SUPPORTED
ParticleRadius
NOT SUPPORTED
ParticleRelativeTime
NOT SUPPORTED
ParticleSize
NOT SUPPORTED
ParticleSpeed
NOT SUPPORTED
SphericalParticleOpacity
NOT SUPPORTED
ParticleSubUV

NOT SUPPORTED

Expression NameSupport
LanscapeLayerBlend
NOT SUPPORTED
LandscapeLayerCoords
NOT SUPPORTED
LandscapeLayerSwitch
NOT SUPPORTED
LandscapeLayerWeight
NOT SUPPORTED
LanscapeVisibilityMask

NOT SUPPORTED

Expression NameSupport
FontSample
NOT SUPPORTED
SceneColor
NOT SUPPORTED
SpriteTrextureSampler
NOT SUPPORTED
TextureObject
SUPPORTED
TextureSample
SUPPORTED
TextureProperty

NOT SUPPORTED

Expression NameSupport
AntialiasedTextureMask
NOT SUPPORTED
BlackBody
NOT SUPPORTED
BumpOffset
SUPPORTED
ConstantBiasScale
SUPPORTED
DDX (info)
PARTIAL
DDY (info)
PARTIAL
DepthOfFieldFunction
NOT SUPPORTED
Desaturation
SUPPORTED
Distance
SUPPORTED
DistanceFieldGradient
NOT SUPPORTED
DistanceToNearestSurface
NOT SUPPORTED
FeatureLevelSwitch
NOT SUPPORTED
Fresnel
SUPPORTED
GIReplace
NOT SUPPORTED
LightmassReplace
NOT SUPPORTED
Noise
NOT SUPPORTED
PreviousFrameSwitch
NOT SUPPORTED
QualitySwitch
NOT SUPPORTED
RayTracingQualitySwitch (info)
PARTIAL
RotateAboutAxis
SUPPORTED
SphereMask
SUPPORTED
Vector Noise

NOT SUPPORTED

Expression NameSupport
ActorPositionWS
NOT SUPPORTED
CameraPositionWS
SUPPORTED
CameraVectorWS
SUPPORTED
DeriveNormalZ
NOT SUPPORTED
LightVector
NOT SUPPORTED
ObjectBounds
NOT SUPPORTED
ObjectOrientation
NOT SUPPORTED
ObjectPositionWS
SUPPORTED
ParticlePositionWS
NOT SUPPORTED
PixelNormalWS
SUPPORTED
Pre-Skinned Local Normal
NOT SUPPORTED
Pre-Skinned Local Position
NOT SUPPORTED
ReflectionVectorWS
SUPPORTED
Transform
SUPPORTED
TransformPosition
PARTIAL
VertexNormalWS

SUPPORTED



If the Coordinate Index in the TextureCoordinate node in a material is set to a certain value and the material is applied to a Static mesh that doesn't have a corresponding UV channel, then that mesh will not render correctly in V-Ray. For example, the Coordinate Index in a material that is applied to a static mesh is set to 3 but the mesh has only 2 UV channels then the render result will be inaccurate.


Supported Material Inputs, Blend Modes and Shading Models


Below are listed all inputs, Blend modes and Shading models in the Material Editor that are supported by V-Ray for Unreal.


Inputs
Base Color

SUPPORTED

Metallic

SUPPORTED

Specular

SUPPORTED

Roughness

SUPPORTED

Emissive Color

SUPPORTED

Opacity

SUPPORTED

Opacity Mask

SUPPORTED

Normal

SUPPORTED

World Position Offset

NOT SUPPORTED

World Displacement

NOT SUPPORTED

Tessellation Multiplier

NOT SUPPORTED

Subsurface Color

SUPPORTED

Clear Coat

SUPPORTED

Clear Coat Roughness

SUPPORTED

Ambient Occlusion

NOT SUPPORTED

Refraction

NOT SUPPORTED

Pixel Depth Offset

NOT SUPPORTED

Shading Model

NOT SUPPORTED

ClearCoatBottomNormal

SUPPORTED




Blend Modes
Opaque

SUPPORTED

Masked

SUPPORTED

Translucent

SUPPORTED

Additive

NOT SUPPORTED

Modulate

NOT SUPPORTED

Alpha Composite

SUPPORTED




Shading Modes
Unlit

SUPPORTED

Default Lit

SUPPORTED

Subsurface

SUPPORTED

Preintegrated Skin

NOT SUPPORTED

Clear Coat

SUPPORTED

Subsurface Profile

NOT SUPPORTED

Two Sided Foliage

SUPPORTED

Hair

NOT SUPPORTED

Cloth

NOT SUPPORTED

Eye

NOT SUPPORTED