© Bertrand Benoit

Table of Contents

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

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

Table of Contents

 

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.

CategoryExpressions
Atmosphere
Expand
 Support
AtmosphericFogColorNOT SUPPORTED

Constants

Expand
 Support
ConstantSUPPORTED
Constant2VectorSUPPORTED
Constant3VectorSUPPORTED
Constant4VectorSUPPORTED
DistanceCullFadeNOT SUPPORTED
ParticleColorNOT SUPPORTED
ParticleDirectionNOT SUPPORTED
ParticleMotionBlurFadeNOT SUPPORTED
ParticleRadiusNOT SUPPORTED
ParticleRelativeTimeNOT SUPPORTED
ParticleSizeNOT SUPPORTED
ParticleSpeedNOT SUPPORTED
PerInstanceFadeAmountNOT SUPPORTED
PerInstanceRandomNOT SUPPORTED
Time 2PARTIAL
TwoSidedSignSUPPORTED
VertexColorSUPPORTED
View Property 1PARTIAL
Precomputed AO MaskNOT SUPPORTED
Coordinates
Expand
 Support
LightmapUVsNOT SUPPORTED
 ObjectRadiusSUPPORTED
PannerSUPPORTED
ParticlePositionWSNOT SUPPORTED
RotatorSUPPORTED
SceneTexelSizeNOT SUPPORTED
ScreenPositionSUPPORTED
TextureCoordinate 3PARTIAL
ViewSizeNOT SUPPORTED
WorldPosition SUPPORTED
Custom
Expand
 Support
CustomNOT SUPPORTED
Depth
Expand
 Support
DepthFadeNOT SUPPORTED
 PixelDepthSUPPORTED
SceneDepthNOT SUPPORTED
Function
Expand
 Support
FunctionInputSUPPORTED
FunctionOutputSUPPORTED
MaterialFunctionCallSUPPORTED
StaticBoolSUPPORTED
StaticSwitchSUPPORTED
Material Attributes
Expand
 Support
BreakMaterialAttributesSUPPORTED
GetMaterialAttributesSUPPORTED
MakeMaterialAttributesSUPPORTED
SetMaterialAttributesSUPPORTED
Math
Expand
 Support
AbsSUPPORTED
AddSUPPORTED
AppendVectorSUPPORTED
 ArccosineSUPPORTED
ArccosineFastPARTIAL
 ArcsineSUPPORTED
ArcsineFastPARTIAL
 ArctangentSUPPORTED
 Arctangent2SUPPORTED
Arctangent2fastPARTIAL
ArctangentFastPARTIAL
CeilSUPPORTED
ClampSUPPORTED
ComponentMaskSUPPORTED
CosineSUPPORTED
CrossProductSUPPORTED
DivideSUPPORTED
DotProductSUPPORTED
FloorSUPPORTED
FmodSUPPORTED
FracSUPPORTED
IfSUPPORTED
LinearInterpolateSUPPORTED
Logarithm10NOT SUPPORTED
 Logarithm2SUPPORTED
MaxSUPPORTED
MinSUPPORTED
MultiplySUPPORTED
NormalizeSUPPORTED
OneMinusSUPPORTED
PowerSUPPORTED
RoundSUPPORTED
SaturateSUPPORTED
SignSUPPORTED
SineSUPPORTED
SquareRootSUPPORTED
SubtractSUPPORTED
 TangentSUPPORTED
TruncateSUPPORTED
Parameters
Expand
 Support
CollectionParametersNOT SUPPORTED
DynamicParameterNOT SUPPORTED
FontSampleParameterNOT SUPPORTED
ScalarParameterSUPPORTED
StaticBoolParameterSUPPORTED
StaticSwitchParameterSUPPORTED
StaticComponentMaskParameterNOT SUPPORTED
VectorParameterSUPPORTED
TextureObjectParameterSUPPORTED
TextureSampleParameter2DSUPPORTED
TextureSampleParameterSubUVNOT SUPPORTED
TextureSampleParameterCubeNOT SUPPORTED
TextureSampleParameterMovieNOT SUPPORTED
Particles
Expand
 Support
DynamicParameterNOT SUPPORTED
ParticleColorNOT SUPPORTED
ParticleDirectionNOT SUPPORTED
ParticleMacroUVNOT SUPPORTED
ParticleMotionBlurFadeNOT SUPPORTED
ParticlePositionWSNOT SUPPORTED
ParticleRadiusNOT SUPPORTED
ParticleRelativeTimeNOT SUPPORTED
ParticleSizeNOT SUPPORTED
ParticleSpeedNOT SUPPORTED
SphericalParticleOpacityNOT SUPPORTED
ParticleSubUVNOT SUPPORTED
Terrain
Expand
 Support
LanscapeLayerBlendNOT SUPPORTED
LandscapeLayerCoordsNOT SUPPORTED
LandscapeLayerSwitchNOT SUPPORTED
LandscapeLayerWeightNOT SUPPORTED
LanscapeVisibilityMaskNOT SUPPORTED
Texture
Expand
 Support
FontSampleNOT SUPPORTED
SceneColorNOT SUPPORTED
SpriteTrextureSamplerNOT SUPPORTED
TextureObjectSUPPORTED
TextureSampleSUPPORTED
TexturePropertyNOT SUPPORTED
Utility
Expand
 Support
AntialiasedTextureMaskNOT SUPPORTED
BlackBodyNOT SUPPORTED
BumpOffsetSUPPORTED
ConstantBiasScaleSUPPORTED
DDX 4PARTIAL
DDY 4PARTIAL
DepthOfFieldFunctionNOT SUPPORTED
DesaturationSUPPORTED
DistanceSUPPORTED
DistanceFieldGradientNOT SUPPORTED
DistanceToNearestSurfaceNOT SUPPORTED
FeatureLevelSwitchNOT SUPPORTED
FresnelSUPPORTED
GIReplaceNOT SUPPORTED
LightmassReplaceNOT SUPPORTED
NoiseNOT SUPPORTED
PreviousFrameSwitchNOT SUPPORTED
QualitySwitchNOT SUPPORTED
RotateAboutAxisSUPPORTED
SphereMaskSUPPORTED
Vector NoiseNOT SUPPORTED
VectorOps
Expand
 Support
ActorPositionWSNOT SUPPORTED
CameraPositionWSSUPPORTED
CameraVectorWSSUPPORTED
DeriveNormalZNOT SUPPORTED
LightVectorNOT SUPPORTED
ObjectBoundsNOT SUPPORTED
ObjectOrientationNOT SUPPORTED
ObjectPositionWSSUPPORTED
ParticlePositionWSNOT SUPPORTED
PixelNormalWSSUPPORTED
Pre-Skinned Local NormalNOT SUPPORTED
Pre-Skinned Local PositionNOT SUPPORTED
ReflectionVectorWSSUPPORTED
TransformSUPPORTED
TransformPositionPARTIAL
VertexNormalWSSUPPORTED

 

 

 

 

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

 

 

 

 

 

 

Footnotes


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

2 – Time is not currently supported in animation.

3 – Tiling and mirror options are not supported.

4 – Will be skipped in the shader graph.