Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed TOC

 

 

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

floatingpagetoc

 


Overview

 



Section
Column
width45%

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.

Column
width5%

 


Column
width50%

 Image Added


Supported Expressions


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

UI Text Box
typeinfo

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

column
Section

Image Added




width15%
Tabs Container
direction
vertical
CategoryExpressions
Tabs Page
titleAtmosphere
UI Expand
titleExpand
 Support
AtmosphericFogColor-

Constants

UI Expand
titleExpand
 Support
Constant
Constant2Vector
Constant3Vector
Constant4Vector
DistanceCullFade-
ParticleColor-
ParticleDirection-
ParticleMotionBlurFade-
ParticleRadius-
ParticleRelativeTime-
ParticleSize-
ParticleSpeed-
PerInstanceFadeAmount-
PerInstanceRandom-
Time-
TwoSidedSign-
VertexColor-
View Property 1partial
Precomputed AO Mask-
Coordinates
UI Expand
titleExpand
 Support
LightmapUVs-
ObjectRadius-
Panner 2partial
ParticlePositionWS-
Rotator 2partial
SceneTexelSize-
ScreenPosition 3partial
TextureCoordinate 4partial
ViewSize-
WorldPosition-
Custom
UI Expand
titleExpand
 Support
Custom-
Depth
UI Expand
titleExpand
 Support
DepthFade-
PixelDepth-
SceneDepth-
Function
UI Expand
titleExpand
 Support
FunctionInput
FunctionOutput
MaterialFunctionCall
StaticBool
StaticSwitch
Material Attributes
UI Expand
titleExpand
 Support
BreakMaterialAttributes
MakeMaterialAttributes
Math
UI Expand
titleExpand
 Support
Abs
Add
AppendVector
Arccosine-
ArccosineFast-
Arcsine-
ArcsineFast-
Arctangent-
Arctangent2-
Arctangent2fast-
ArctangentFast-
Ceil
Clamp
ComponentMask
Cosine
CrossProduct
Divide
DotProduct
Floor
Fmod
Frac
If
LinearInterpolate
Logarithm10-
Logarithm2-
Max
Min
Multiply
Normalize
OneMinus
Power
Round
Saturate
Sign
Sine
SquareRoot
Subtract
Tangent-
Truncate
Parameters
UI Expand
titleExpand
 Support
CollectionParameters-
DynamicParameter-
FontSampleParameter-
ScalarParameter
StaticBoolParameter
StaticSwitchParameter
StaticComponentMaskParameter-
VectorParameter
TextureObjectParameter
TextureSampleParameter2D
TextureSampleParameterSubUV-
TextureSampleParameterCube-
TextureSampleParameterMovie-
Particles
UI Expand
titleExpand
 Support
DynamicParameter-
ParticleColor-
ParticleDirection-
ParticleMacroUV-
ParticleMotionBlurFade-
ParticlePositionWS-
ParticleRadius-
ParticleRelativeTime-
ParticleSize-
ParticleSpeed-
SphericalParticleOpacity-
ParticleSubUV-
Terrain
UI Expand
titleExpand
 Support
LanscapeLayerBlend-
LandscapeLayerCoords-
LandscapeLayerSwitch-
LandscapeLayerWeight-
LanscapeVisibilityMask-
Texture
UI Expand
titleExpand
 Support
FontSample-
SceneColor-
SpriteTrextureSampler-
TextureObject
TextureSample
TextureProperty-
Utility
UI Expand
titleExpand
 Support
AntialiasedTextureMask-
BlackBody-
BumpOffset
ConstantBiasScale
DDX 5partial
DDY 5partial
DepthOfFieldFunction-
Desaturation
Distance
DistanceFieldGradient-
DistanceToNearestSurface-
FeatureLevelSwitch-
Fresnel 6partial
GIReplace-
LightmassReplace-
Noise-
PreviousFrameSwitch-
QualitySwitch-
RotateAboutAxis-
SphereMask
Vector Noise-
VectorOps
UI Expand
titleExpand
 Support
ActorPositionWS-
CameraPositionWS
CameraVectorWS
DeriveNormalZ-
LightVector-
ObjectBounds-
ObjectOrientation-
ObjectPositionWS-
ParticlePositionWS-
PixelNormalWS
Pre-Skinned Local Normal-
Pre-Skinned Local Position-
ReflectionVectorWS
Transform
TransformPosition-
VertexNormalWS
Column
width5%
 
Column
width80%

 Image Removed

 

 
Expression NameSupport
AtmosphericFogColor
Status
colourGrey
titleNot Supported
Tabs Page
titleConstants
Expression NameSupport
Constant
Status
colourGreen
titleSupported
Constant2Vector
Status
colourGreen
titleSupported
Constant3Vector
Status
colourGreen
titleSupported
Constant4Vector
Status
colourGreen
titleSupported
DistanceCullFade
Status
colourGrey
titleNot Supported
ParticleColor
Status
colourGrey
titleNot Supported
ParticleDirection
Status
colourGrey
titleNot Supported
ParticleMotionBlurFade
Status
colourGrey
titleNot Supported
ParticleRadius
Status
colourGrey
titleNot Supported
ParticleRelativeTime
Status
colourGrey
titleNot Supported
ParticleSize
Status
colourGrey
titleNot Supported
ParticleSpeed
Status
colourGrey
titleNot Supported
PerInstanceFadeAmount
Status
colourGrey
titleNot Supported
PerInstanceRandom
Status
colourGrey
titleNot Supported
Time (info)
Status
colourYellow
titlePartial
TwoSidedSign
Status
colourGreen
titleSupported
VertexColor
Status
colourGreen
titleSupported
View Property (info)
Status
colourYellow
titlePartial
Precomputed AO Mask
Status
colourGrey
titleNot Supported
Tabs Page
titleCoordinates
Expression NameSupport
LightmapUVs
Status
colourGrey
titleNot Supported
 ObjectRadius
Status
colourGreen
titleSupported
Panner
Status
colourGreen
titleSupported
ParticlePositionWS
Status
colourGrey
titleNot Supported
Rotator
Status
colourGreen
titleSupported
SceneTexelSize
Status
colourGrey
titleNot Supported
ScreenPosition
Status
colourGreen
titleSupported
TextureCoordinate (info)
Status
colourYellow
titlePartial
ViewSize
Status
colourGrey
titleNot Supported
WorldPosition
 
Status
colourGreen
titleSupported
Tabs Page
titleCustom
Expression NameSupport
Custom
Status
colourGrey
titleNot Supported
Tabs Page
titleDepth
Expression NameSupport
DepthFade
Status
colourGrey
titleNot Supported
 PixelDepth
Status
colourGreen
titleSupported
SceneDepth

Status
colourGrey
titleNot Supported

Tabs Page
titleFunction
Expression NameSupport
FunctionInput
Status
colourGreen
titleSupported
FunctionOutput
Status
colourGreen
titleSupported
MaterialFunctionCall
Status
colourGreen
titleSupported
StaticBool
Status
colourGreen
titleSupported
StaticSwitch

Status
colourGreen
titleSupported

Tabs Page
titleMaterial Attributes
Expression NameSupport
BreakMaterialAttributes
Status
colourGreen
titleSupported
GetMaterialAttributes
Status
colourGreen
titleSupported
MakeMaterialAttributes
Status
colourGreen
titleSupported
SetMaterialAttributes

Status
colourGreen
titleSupported

Tabs Page
titleMath
Expression NameSupport
Abs
Status
colourGreen
titleSupported
Add
Status
colourGreen
titleSupported
AppendVector
Status
colourGreen
titleSupported
 Arccosine
Status
colourGreen
titleSupported
ArccosineFast (info)
Status
colourYellow
titlePartial
 Arcsine
Status
colourGreen
titleSupported
ArcsineFast (info)
Status
colourYellow
titlePartial
 Arctangent
Status
colourGreen
titleSupported
 Arctangent2
Status
colourGreen
titleSupported
Arctangent2fast (info)
Status
colourYellow
titlePartial
ArctangentFast (info)
Status
colourYellow
titlePartial
Ceil
Status
colourGreen
titleSupported
Clamp
Status
colourGreen
titleSupported
ComponentMask
Status
colourGreen
titleSupported
Cosine
Status
colourGreen
titleSupported
CrossProduct
Status
colourGreen
titleSupported
Divide
Status
colourGreen
titleSupported
DotProduct
Status
colourGreen
titleSupported
Floor
Status
colourGreen
titleSupported
Fmod
Status
colourGreen
titleSupported
Frac
Status
colourGreen
titleSupported
If
Status
colourGreen
titleSupported
LinearInterpolate
Status
colourGreen
titleSupported
Logarithm10
Status
colourGrey
titleNot Supported
 Logarithm2
Status
colourGreen
titleSupported
Max
Status
colourGreen
titleSupported
Min
Status
colourGreen
titleSupported
Multiply
Status
colourGreen
titleSupported
Normalize
Status
colourGreen
titleSupported
OneMinus
Status
colourGreen
titleSupported
Power
Status
colourGreen
titleSupported
Round
Status
colourGreen
titleSupported
Saturate
Status
colourGreen
titleSupported
Sign
Status
colourGreen
titleSupported
Sine
Status
colourGreen
titleSupported
SquareRoot
Status
colourGreen
titleSupported
Subtract
Status
colourGreen
titleSupported
 Tangent
Status
colourGreen
titleSupported
Truncate

Status
colourGreen
titleSupported

Tabs Page
titleParameters
Expression NameSupport
CollectionParameters
Status
colourGrey
titleNot Supported
DynamicParameter
Status
colourGrey
titleNot Supported
FontSampleParameter
Status
colourGrey
titleNot Supported
ScalarParameter
Status
colourGreen
titleSupported
StaticBoolParameter
Status
colourGreen
titleSupported
StaticSwitchParameter
Status
colourGreen
titleSupported
StaticComponentMaskParameter
Status
colourGrey
titleNot Supported
VectorParameter
Status
colourGreen
titleSupported
TextureObjectParameter
Status
colourGreen
titleSupported
TextureSampleParameter2D
Status
colourGreen
titleSupported
TextureSampleParameterSubUV
Status
colourGrey
titleNot Supported
TextureSampleParameterCube
Status
colourGrey
titleNot Supported
TextureSampleParameterMovie

Status
colourGrey
titleNot Supported

Tabs Page
titleParticles
Expression NameSupport
DynamicParameter
Status
colourGrey
titleNot Supported
ParticleColor
Status
colourGrey
titleNot Supported
ParticleDirection
Status
colourGrey
titleNot Supported
ParticleMacroUV
Status
colourGrey
titleNot Supported
ParticleMotionBlurFade
Status
colourGrey
titleNot Supported
ParticlePositionWS
Status
colourGrey
titleNot Supported
ParticleRadius
Status
colourGrey
titleNot Supported
ParticleRelativeTime
Status
colourGrey
titleNot Supported
ParticleSize
Status
colourGrey
titleNot Supported
ParticleSpeed
Status
colourGrey
titleNot Supported
SphericalParticleOpacity
Status
colourGrey
titleNot Supported
ParticleSubUV

Status
colourGrey
titleNot Supported

Tabs Page
titleTerrain
Expression NameSupport
LanscapeLayerBlend
Status
colourGrey
titleNot Supported
LandscapeLayerCoords
Status
colourGrey
titleNot Supported
LandscapeLayerSwitch
Status
colourGrey
titleNot Supported
LandscapeLayerWeight
Status
colourGrey
titleNot Supported
LanscapeVisibilityMask

Status
colourGrey
titleNot Supported

Tabs Page
titleTexture
Expression NameSupport
FontSample
Status
colourGrey
titleNot Supported
SceneColor
Status
colourGrey
titleNot Supported
SpriteTrextureSampler
Status
colourGrey
titleNot Supported
TextureObject
Status
colourGreen
titleSupported
TextureSample
Status
colourGreen
titleSupported
TextureProperty

Status
colourGrey
titleNot Supported

Tabs Page
titleUtility
Expression NameSupport
AntialiasedTextureMask
Status
colourGrey
titleNot Supported
BlackBody
Status
colourGrey
titleNot Supported
BumpOffset
Status
colourGreen
titleSupported
ConstantBiasScale
Status
colourGreen
titleSupported
DDX (info)
Status
colourYellow
titlePartial
DDY (info)
Status
colourYellow
titlePartial
DepthOfFieldFunction
Status
colourGrey
titleNot Supported
Desaturation
Status
colourGreen
titleSupported
Distance
Status
colourGreen
titleSupported
DistanceFieldGradient
Status
colourGrey
titleNot Supported
DistanceToNearestSurface
Status
colourGrey
titleNot Supported
FeatureLevelSwitch
Status
colourGrey
titleNot Supported
Fresnel
Status
colourGreen
titleSupported
GIReplace
Status
colourGrey
titleNot Supported
LightmassReplace
Status
colourGrey
titleNot Supported
Noise
Status
colourGrey
titleNot Supported
PreviousFrameSwitch
Status
colourGrey
titleNot Supported
QualitySwitch
Status
colourGrey
titleNot Supported
RayTracingQualitySwitch (info)
Status
colourYellow
titlePartial
RotateAboutAxis
Status
colourGreen
titleSupported
SphereMask
Status
colourGreen
titleSupported
Vector Noise

Status
colourGrey
titleNot Supported

Tabs Page
titleVectorOps
Expression NameSupport
ActorPositionWS
Status
colourGrey
titleNot Supported
CameraPositionWS
Status
colourGreen
titleSupported
CameraVectorWS
Status
colourGreen
titleSupported
DeriveNormalZ
Status
colourGrey
titleNot Supported
LightVector
Status
colourGrey
titleNot Supported
ObjectBounds
Status
colourGrey
titleNot Supported
ObjectOrientation
Status
colourGrey
titleNot Supported
ObjectPositionWS
Status
colourGreen
titleSupported
ParticlePositionWS
Status
colourGrey
titleNot Supported
PixelNormalWS
Status
colourGreen
titleSupported
Pre-Skinned Local Normal
Status
colourGrey
titleNot Supported
Pre-Skinned Local Position
Status
colourGrey
titleNot Supported
ReflectionVectorWS
Status
colourGreen
titleSupported
Transform
Status
colourGreen
titleSupported
TransformPosition
Status
colourYellow
titlePartial
VertexNormalWS

Status
colourGreen
titleSupported



UI Text Box
typewarning

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.

 


Align
aligncenter
Inputs 
Base Color

Status
colourGreen
titleSupported

Metallic

Status
colourGreen
titleSupported

Specular

Status
colourGreen
titleSupported

Roughness

Status
colourGreen
titleSupported

Roughness

Emissive Color

Status
colourGreen
titleSupported

Opacity

Status
colourGreen
titleSupported

Opacity Mask

Status
colourGreen
titleSupported

Normal

Status
colourGreen
titleSupported

World Position Offset

Status
colourGrey
titleNot Supported

-

World Displacement

Status
colourGrey
titleNot Supported

-

Tessellation Multiplier

Status
colourGrey
titleNot Supported

-

Subsurface Color

Status
colourGreen
titleSupported

-

Clear Coat

Status
colourGreen
titleSupported

Clear Coat Roughness

Status
colourGreen
titleSupported

Ambient Occlusion

Status
colourGrey
titleNot Supported

-

Refraction

Status
colourGrey
titleNot Supported

-

Pixel Depth Offset-ClearCoatBottomNormal

Status
colourGrey
titleNot Supported

Shading Model

Status
colourGrey
titleNot Supported

ClearCoatBottomNormal

Status
colourGreen
titleSupported




Align
aligncenter
Expand
title Click here to expand for screenshot of UI

Image Modified

Align
aligncenter
Blend Modes 
Opaque
Masked
Translucent
Additive-
Modulate- 
Alpha Composite

 

 

Opaque

Status
colourGreen
titleSupported

Masked

Status
colourGreen
titleSupported

Translucent

Status
colourGreen
titleSupported

Additive

Status
colourGrey
titleNot Supported

Modulate

Status
colourGrey
titleNot Supported

Alpha Composite

Status
colourGreen
titleSupported




Align
aligncenter
Expand
titleClick here to expand for screenshot of UI

Image Modified

Align
aligncenter
Clear CoatSubsurface Profile
Shading Modes 
Unlit

Status
colourGreen
titleSupported

Unlit

Default Lit

Status
colourGreen
titleSupported

Subsurface

Status
colourGreen
titleSupported

-

Preintegrated Skin-

Status

colour

Grey

title

-
Two Sided Foliage-
Hair-
Cloth-
Eye-

 

 

Expand
titleClick here to expand for screenshot of UI

Image Removed

 

 

 

 

Footnotes

Anchor11

1 – Only Camera Position (Absolute World Space) and Viewport Offset are supported.

Anchor22

2 – Time input is supported with only static value.

Anchor33

3 – Pixel Position output not supported.

Anchor44

4 – Coordinate index 0 is only supported. Tiling and mirror options are not supported.

Anchor55

5 – Will be skipped in the shader graph.

Anchor66

6 – Normal input is not supported.

 

Not Supported

Clear Coat

Status
colourGreen
titleSupported

Subsurface Profile

Status
colourGrey
titleNot Supported

Two Sided Foliage

Status
colourGreen
titleSupported

Hair

Status
colourGrey
titleNot Supported

Cloth

Status
colourGrey
titleNot Supported

Eye

Status
colourGrey
titleNot Supported




Align
aligncenter
Expand
titleClick here to expand for screenshot of UI

Image Added