Versions Compared

Key

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

 

 

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%


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.

-
Section
Column
width20%45%
CategoryExpressions
Atmosphere
UI Expand
titleExpand
 Support
AtmosphericFogColor
Status
colourGrey
titleNot Supported
-

Constants

UI Expand
titleExpand
 Support
Constant
Constant2Vector
Constant3Vector
Constant4Vector
DistanceCullFade-
ParticleColor-
ParticleDirection-
ParticleMotionBlurFade-
ParticleRadius-
ParticleRelativeTime-
ParticleSize-
ParticleSpeed-
PerInstanceFadeAmount-
PerInstanceRandom-
Time 2partial
TwoSidedSign
VertexColor
View Property 1partial
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 2
Status
colourYellow
titlePartial
TwoSidedSign
Status
colourGreen
titleSupported
VertexColor
Status
colourGreen
titleSupported
View Property 1
Status
colourYellow
titlePartial
Precomputed AO Mask
Status
colourGrey
titleNot Supported
Precomputed AO Mask
Coordinates
UI Expand
titleExpand
 Support
LightmapUVs
Status
colourGrey
titleNot Supported
-
 ObjectRadius
Status
colourGreen
titleSupported
Panner
ParticlePositionWS-RotatorSceneTexelSize-ScreenPositionTextureCoordinate 3partialViewSize-
Status
colourGreen
titleSupported
ParticlePositionWS
Status
colourGrey
titleNot Supported
Rotator
Status
colourGreen
titleSupported
SceneTexelSize
Status
colourGrey
titleNot Supported
ScreenPosition
Status
colourGreen
titleSupported
TextureCoordinate 3
Status
colourYellow
titlePartial
ViewSize
Status
colourGrey
titleNot Supported
WorldPosition 
Status
colourGreen
titleSupported
WorldPosition 
Custom
UI Expand
titleExpand
 Support
Custom
Status
colourGrey
titleNot Supported
-
Depth
UI Expand
titleExpand
 Support
DepthFade
Status
colourGrey
titleNot Supported
-
 PixelDepth
Status
colourGreen
titleSupported
SceneDepth
Status
colourGrey
titleNot Supported
SceneDepth-
Function
UI Expand
titleExpand
 Support
FunctionInput
FunctionOutputMaterialFunctionCallStaticBool
Status
colourGreen
titleSupported
FunctionOutput
Status
colourGreen
titleSupported
MaterialFunctionCall
Status
colourGreen
titleSupported
StaticBool
Status
colourGreen
titleSupported
StaticSwitch
Status
colourGreen
titleSupported
StaticSwitch
Material Attributes
UI Expand
titleExpand
 Support
BreakMaterialAttributes
Status
colourGreen
titleSupported
(plus) NEW GetMaterialAttributes
Status
colourGreen
titleSupported
MakeMaterialAttributes
Status
colourGreen
titleSupported
(plus) NEW SetMaterialAttributes
Status
colourGreen
titleSupported
MakeMaterialAttributes
Math
UI Expand
titleExpand
 Support
Abs
Status
colourGreen
titleSupported
Add
AppendVector ArccosineArccosineFastpartial ArcsineArcsineFastpartial Arctangent Arctangent2Arctangent2fastpartialArctangentFastpartialCeilClampComponentMaskCosineCrossProductDivideDotProductFloorFmodFracIfLinearInterpolateLogarithm10- Logarithm2MaxMinMultiplyNormalizeOneMinusPowerRoundSaturateSignSineSquareRootSubtract Tangent
Status
colourGreen
titleSupported
AppendVector
Status
colourGreen
titleSupported
 Arccosine
Status
colourGreen
titleSupported
ArccosineFast
Status
colourYellow
titlePartial
 Arcsine
Status
colourGreen
titleSupported
ArcsineFast
Status
colourYellow
titlePartial
 Arctangent
Status
colourGreen
titleSupported
 Arctangent2
Status
colourGreen
titleSupported
Arctangent2fast
Status
colourYellow
titlePartial
ArctangentFast
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
Truncate
Parameters
UI Expand
titleExpand
 Support
CollectionParameters
-DynamicParameter-FontSampleParameter-ScalarParameterStaticBoolParameterStaticSwitchParameterStaticComponentMaskParameter-VectorParameterTextureObjectParameterTextureSampleParameter2DTextureSampleParameterSubUV-TextureSampleParameterCube-
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
TextureSampleParameterMovie-
Particles
UI Expand
titleExpand
 Support
DynamicParameter
-ParticleColor-ParticleDirection-ParticleMacroUV-ParticleMotionBlurFade-ParticlePositionWS-ParticleRadius-ParticleRelativeTime-ParticleSize-ParticleSpeed-SphericalParticleOpacity-
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
ParticleSubUV-
Terrain
UI Expand
titleExpand
 Support
LanscapeLayerBlend
-LandscapeLayerCoords-LandscapeLayerSwitch-LandscapeLayerWeight-
Status
colourGrey
titleNot Supported
LandscapeLayerCoords
Status
colourGrey
titleNot Supported
LandscapeLayerSwitch
Status
colourGrey
titleNot Supported
LandscapeLayerWeight
Status
colourGrey
titleNot Supported
LanscapeVisibilityMask
Status
colourGrey
titleNot Supported
LanscapeVisibilityMask-
Texture
UI Expand
titleExpand
 Support
FontSample
-SceneColor-SpriteTrextureSampler-TextureObjectTextureSample
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
TextureProperty-
Utility
UI Expand
titleExpand
 Support
AntialiasedTextureMask
Status
colourGrey
titleNot Supported
-
BlackBody
-BumpOffsetConstantBiasScaleDDX 4partialDDY 4partialDepthOfFieldFunction-DesaturationDistanceDistanceFieldGradient-DistanceToNearestSurface-FeatureLevelSwitch-FresnelGIReplace-LightmassReplace-Noise-PreviousFrameSwitch-QualitySwitch-(plus) NEW RotateAboutAxisSphereMask
Status
colourGrey
titleNot Supported
BumpOffset
Status
colourGreen
titleSupported
ConstantBiasScale
Status
colourGreen
titleSupported
DDX 4
Status
colourYellow
titlePartial
DDY 4
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
RotateAboutAxis
Status
colourGreen
titleSupported
SphereMask
Status
colourGreen
titleSupported
Vector Noise
Status
colourGrey
titleNot Supported
Vector Noise-
VectorOps
UI Expand
titleExpand
 Support
ActorPositionWS
-CameraPositionWSCameraVectorWSDeriveNormalZ-LightVector-ObjectBounds-ObjectOrientation-ObjectPositionWSParticlePositionWS-
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
PixelNormalWS
Pre-Skinned Local Normal
-
Status
colourGrey
titleNot Supported
Pre-Skinned Local Position
-ReflectionVectorWSTransformTransformPositionpartialVertexNormalWS
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.

 

 

Column
width75%55%

 

 

 

 

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
Metallic
Specular
Roughness
Emissive Color
Opacity
Opacity Mask
Normal
World Position Offset-
World Displacement-
Tessellation Multiplier-
Subsurface Color
Clear Coat
Clear Coat Roughness
Ambient Occlusion-
Refraction-
Pixel Depth Offset-
ClearCoatBottomNormal

 

 

 

Status
colourGreen
titleSupported

Metallic

Status
colourGreen
titleSupported

Specular

Status
colourGreen
titleSupported

Roughness

Status
colourGreen
titleSupported

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

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- 

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

Alpha Composite

 

  

Align
 
align
 
center
Expand
titleClick here to expand for screenshot of UI

Image Modified

Align
aligncenter
Shading Modes 
Unlit

Status
colourGreen
titleSupported

Default Lit

Status
colourGreen
titleSupported

Subsurface

Status
colourGreen
titleSupported

Preintegrated Skin

Status
colourGrey
titleNot Supported

-

Clear Coat

Status
colourGreen
titleSupported

Subsurface Profile

Status
colourGrey
titleNot Supported

-

Two Sided Foliage
Hair-
Cloth-
Eye-
 

Status
colourGreen
titleSupported

Hair

Status
colourGrey
titleNot Supported

Cloth

Status
colourGrey
titleNot Supported

Eye

Status
colourGrey
titleNot Supported

 

  

Align
 
align
 
center
Expand
titleClick here to expand for screenshot of UI

Image Modified

 

 

 

 

Footnotes


Anchor
1
1

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

Anchor
2
2

2 – Time is not currently supported in animation.

Anchor
3
3

3 – Tiling and mirror options are not supported.

Anchor
4
4

4 – Will be skipped in the shader graph.