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

Compare with Current View Page History

« Previous Version 9 Next »

 

 

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

Page 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
AtmosphericFogColor-

Constants

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

 

 

 

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

 

 



  Click here to expand for screenshot of UI

Blend Modes 
Opaque
Masked
Translucent
Additive-
Modulate- 
Alpha Composite

 

 

 Click here to expand for screenshot of UI

Shading Modes 
Unlit
Default Lit
Subsurface-
Preintegrated Skin-
Clear Coat
Subsurface Profile-
Two Sided Foliage-
Hair-
Cloth-
Eye-

 

 

 Click here to expand for screenshot of UI

 

 

 

 

Footnotes


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

2 – Time input is supported with only static value.

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

4 – Will be skipped in the shader graph.