© Square Enix © Goodbye Kansas

Important: Update Your Chaos Licensing by January 28, 2025
To ensure uninterrupted access to your licenses, an essential update is required by January 28, 2025. Failure to update your Chaos licensing will result in the loss of access to your licenses. For detailed instructions, please visit the FAQ Article.


Table of Contents

This page provides information on MaterialX (mtlx) support.


Overview


MaterialX is an open-source standard for representing shading networks. MaterialX shading networks can be used across different applications and renderers.

See the MaterialX and V-Ray blog post for more information.



Usage


V-Ray's implementation of MaterialX allows you to render MaterialX nodes encoded in USD with VRayScene-USD. The implementation is a mix of direct translation to V-Ray through a mapping file and custom code. Custom V-Ray plugins share the code and make graphs more efficient. The MaterialX graphs are rendered within Hydra.

Utilize the MaterialX nodes within the standard mtlx workflow in Solaris.


Workflow


Create MaterialX

Mtlx materials are created just like any other material in Solaris – inside a Material Library LOP.

Once the LOP is added, dive inside it and create a USD MaterialX Builder node. Inside the builder node, V-Ray supports most of the mtlx nodes (see the MaterialX Support table below for a full list of the supported nodes).

Then you just need to add an Assign Material LOP and specify a geometry for the mtlx materials. For more information on how to do it, see the Working with Solaris Materials page or watch the video in the Overview section.





Import MaterialX

To use premade mtlx files, use a Sublayer LOP to import them.

In the Sublayer LOP parameters, use the Add button to add as many sublayer files as there are mtlx files you want to import.

Then in the File paths of these sublayers, add the mtlx files.

The steps above only help you import the mtlx files in the scene. To assign the materials to geometry, add an Assign Material LOP and specify a geometry (path) for each mtlx material.





Reference MaterialX

Instead of adding sublayers of mtlx materials, you can reference them with a Reference LOP.

Set the Reference file to the file path of the mtlx file on disk, and select the specific material to load in through the Reference primitive submenu.

Then use an Assign Material LOP to assign the referenced mtlx material to a USD prim.

For more information about alternative workflows for referencing and creating mtlx materials, as well as information about the different types of mtlx nodes, refer to the Solaris documentation


One of the many ways for referencing shaders in Solaris is used here.


Supported Nodes



Category

MtlX Shader Name

Node Name

USD id

CPU Support

GPU Support

Adjustment

MtlX Adjust as HSV

mtlxhsvadjust

ND_hsvadjust

(tick)

(error)

MtlX Color Correct

mtlxcolorcorrect

ND_colorcorrect

(tick)

(error)

MtlX Contrast

mtlxcontrast

ND_contrast

(tick)

(tick)

MtlX Curveadjust

mtlxcurveadjust

ND_curveadjust

(error)

(error)

MtlX HSV to RGB

mtlxhsvtorgb

ND_hsvtorgb

(tick)

(error)

MtlX Luminance

mtlxluminance

ND_luminance

(tick)

(tick)

MtlX Range

mtlxrange

ND_range

(tick)

(tick)

MtlX Remap

mtlxremap

ND_remap

(tick)

(tick)

MtlX RGB to HSV

mtlxrgbtohsv

ND_rgbtohsv

(tick)

(error)

MtlX Saturate

mtlxsaturate

ND_saturate

(tick)

(error)

MtlX Smoothstep

mtlxsmoothstep

ND_smoothstep

(error)



Application

MtlX Frame

mtlxframe

ND_frame_float

(tick)

(error)

MtlX Time

mtlxtime

ND_time_float

(tick)

(error)



Channel

MtlX Combine2

mtlxcombine2

ND_combine2

(tick)

(tick)

MtlX Combine3

mtlxcombine3

ND_combine3

(tick)

(tick)

MtlX Combine4

mtlxcombine4

ND_combine4

(tick)

(tick)

MtlX Convert

mtlxconvert

ND_convert

(tick)

(tick)

MtlX Extract

mtlxextract

ND_extract

(tick)

(tick)

MtlX Separate2

mtlxseparate2

ND_separate2

(tick)

(tick)

MtlX Separate Color 3

mtlxseparate3c

ND_separate3

(tick)

(tick)

MtlX Separate Vector 3

mtlxseparate3v

ND_separate3

(tick)

(tick)

MtlX Separate Color 4

mtlxseparate4c

ND_separate4

(tick)

(tick)

MtlX Separate Vector 4

mtlxseparate4v

ND_separate4

(tick)

(tick)

MtlX Swizzle

mtlxswizzle

ND_swizzle

(tick)

(error)



Compositing

MtlX Burn

mtlxburn

ND_burn

(tick)

(tick)

MtlX Difference

mtlxdifference

ND_difference

(tick)

(tick)

MtlX Disjoint Over

mtlxdisjointover

ND_disjointover

(tick)

(tick)

MtlX Dodge

mtlxdodge

ND_dodge

(error)

(error)

MtlX In

mtlxin

ND_in

(tick)

(tick)

MtlX Inside

mtlxinside

ND_inside

(tick)

(tick)

MtlX Mask

mtlxmask

ND_mask

(tick)

(tick)

MtlX Matte

mtlxmatte

ND_matte

(tick)

(tick)

MtlX Minus

mtlxminus

ND_minus

(tick)

(tick)

MtlX Mix

mtlxmix

ND_mix

(tick)

(tick)

MtlX Out

mtlxout

ND_out

(tick)

(tick)

MtlX Outside

mtlxoutside

ND_outside

(tick)

(tick)

MtlX Over

mtlxover

ND_over

(tick)

(error)

MtlX Overlay

mtlxoverlay

ND_overlay

(tick)

(error)

MtlX Plus

mtlxplus

ND_plus

(tick)

(tick)

MtlX Premult

mtlxpremult

ND_premult

(tick)

(tick)

MtlX Screen

mtlxscreen

ND_screen

(tick)

(tick)

MtlX Un-Premult

mtlxunpremult

ND_unpremult

(tick)

(tick)



Conditional

MtlX If Equal

mtlxifequal

ND_ifequal

(tick)

(tick)

MtlX If Greater

mtlxifgreater

ND_ifgreater

(tick)

(tick)

MtlX If Greater or Equal

mtlxifgreatereq

ND_ifgreatereq

(tick)

(tick)

MtlX Switch

mtlxswitch

ND_switch

(tick)

(tick)



Convolution2D

MtlX Blur

mtlxblur


(tick)

(error)

MtlX Height to Normal

mtlxheighttonormal

ND_heighttonormal

(tick)

(error)



Geometric

MtlX Bitangent

mtlxbitangent

ND_bitangent

(error)

(error)

MtlX Geometry Color

mtlxgeomcolor

ND_geomcolor

(tick)

(tick)

MtlX Geometry Property Value

mtlxgeompropvalue

ND_geompropvalue

(tick)

(error)

MtlX Normal

mtlxnormal

ND_normal_vector3

(tick)

(error)

MtlX Position

mtlxposition

ND_position_vector3

(tick)

(error)

MtlX Tangent

mtlxtangent

ND_tangent_vector3

(tick)

(error)

MtlX Texcoord

mtlxtexcoord

ND_texcoord_vector3

(tick)

(error)



Global

MtlX Ambient Occlusion

mtlxambientocclusion

ND_ambientocclusion_float

(error)

(error)



Houdini

MtlX Bias

hmtlxbias

ND_hmtlxbias_float

(error)

(error)

MtlX Facing Ratio

hmtlxfacingratio

ND_hmtlxfacingratio_float

(error)

(error)

MtlX Gain

hmtlxgain

ND_hmtlxgain_float

(error)

(error)

MtlX Hcatmullrom

hmtlxhcatmullrom

ND_hcatmullrom

(error)

(error)

MtlX Hinvlinear

hmtlxhinvlinear

ND_hinvlinear_float

(tick)

(tick)

MtlX Huniformcubic

hmtlxhuniformcubic

ND_huniformcubic

(tick)

(tick)

MtlX Huniformramp

hmtlxhuniformramp

ND_huniformramp

(tick)

(tick)



Light

MtlX Directional Light

mtlxdirectional_light


(error)

(error)

MtlX Point Light

mtlxpoint_light


(error)

(error)

MtlX Spot Light

mtlxspot_light


(error)

(error)



Material

MtlX Surface Material

mtlxsurfacematerial


(error)

(error)

MtlX Volume Material

mtlxvolumematerial


(error)

(error)



Procedural

MtlX Color Cubic Ramp

hmtlxcubicrampc


(tick)

(error)

MtlX Color Ramp

hmtlxrampc


(tick)

(error)

MtlX Constant

mtlxconstant

ND_constant

(tick)

(tick)

MtlX Float Cubic Ramp

hmtlxcubicrampf


(tick)

(error)

MtlX Float Ramp

hmtlxrampf


(tick)

(error)

MtlX Random Float

mtlxrandomfloat


(tick)

Partial



Procedural2D

MtlX Cell Noise 2D

mtlxcellnoise2d

ND_cellnoise2d_float

(error)

(error)

MtlX Checkerboard

mtlxcheckerboard


(tick)

Partial

MtlX Circle

mtlxcircle


(tick)

Partial

MtlX Circles2D

hmtlxcircles2d


(error)

(error)

MtlX Cloverleaf

mtlxcloverleaf


(tick)

Partial

MtlX Crosshatch

mtlxcrosshatch


(error)

(error)

MtlX Grid

mtlxgrid


(tick)

Partial

MtlX Hexagon

mtlxhexagon


(tick)

Partial

MtlX Line

mtlxline


(tick)

Partial

MtlX Noise2D

mtlxnoise2d

ND_noise2d

(tick)

(error)

MtlX Ramp4

mtlxramp4

ND_ramp4

(tick)

(error)

MtlX Ramplr

mtlxramplr

ND_ramplr

(tick)

(error)

MtlX Ramptb

mtlxramptb

ND_ramptb

(tick)

(error)

MtlX Splitlr

mtlxsplitlr

ND_splitlr

(tick)

(error)

MtlX Splittb

mtlxsplittb

ND_splittb

(tick)

(error)

MtlX Tiled Circles

mtlxtiledcircles


(tick)

Partial

MtlX Tiled Cloverleafs

mtlxtiledcloverleafs


(tick)

Partial

MtlX Tiled Hexagons

mtlxtiledhexagons


(tick)

Partial

MtlX Unified Noise 2D

mtlxunifiednoise2d


(tick)

Partial

MtlX Worley Noise 2D

mtlxworleynoise2d

ND_worleynoise2d

(tick)

(error)



Procedural3D

MtlX Cell Noise 3D

mtlxcellnoise3d

ND_cellnoise3d_float

(tick)

(error)

MtlX Fractal3D

mtlxfractal3d

ND_fractal3d

Partial

(error)

MtlX Noise3D

mtlxnoise3d

ND_noise3d

(tick)

(error)

MtlX Random Color

mtlxrandomcolor

ND_randomcolor

(tick)

(error)

MtlX Unified Noise 3D

mtlxunifiednoise3D


(tick)

Partial

MtlX Worley Noise 3D

mtlxworleynoise3d

ND_worleynoise3d

(tick)

(error)



Texture2D

MtlX Image

mtlximage

ND_image

Partial
(only file, texcoord, uadressmode,
vadressmode, default color)

(error)

MtlX Tiled Image

mtlxtiledimage

ND_tiledimage

Partial
(only file, texcoord, uvtiling, uvoffset)

(error)



Texture3D

MtlX Triplanar Projection

mtlxtriplanarprojection

ND_triplanarprojection

(tick)

(error)



Math

MtlX Absval

mtlxabsval

ND_absval

(tick)

(tick)

MtlX Add

mtlxadd

ND_add

(tick)

(tick)

MtlX Array Append

mtlxarrayappend

ND_arrayappend

(error)

(error)

MtlX Asin

mtlxasin

ND_asin_float

(error)

(error)

MtlX Atan2

mtlxatan2

ND_atan2_float

(tick)

(error)

MtlX Ceil

mtlxceil

ND_ceil_float

(tick)

(error)

MtlX Clamp

mtlxclamp

ND_clamp

(tick)

(tick)

MtlX Cos

mtlxcos

ND_cos

(tick)

(error)

MtlX Cross Product

mtlxcrossproduct

ND_crossproduct_vector3

(tick)

(tick)

MtlX Distance

mtlxdistance


(tick)

Partial

MtlX Divide

mtlxdivide

ND_divide

(tick)

(error)

MtlX Dot Product

mtlxdotproduct

ND_dotproduct_vector3

(tick)

(tick)

MtlX Exp

mtlxexp

ND_exp

(error)

(error)

MtlX Floor

mtlxfloor

ND_floor

(tick)

(error)

MtlX Invert

mtlxinvert

ND_invert

(tick)

(tick)

MtlX Ln

mtlxln

ND_ln

(tick)

(error)

MtlX Magnitude

mtlxmagnitude

ND_magnitude

(tick)

(error)

MtlX Max

mtlxmax

ND_max

(tick)

(tick)

MtlX Min

mtlxmin

ND_min

(tick)

(tick)

MtlX Modulo

mtlxmodulo

ND_modulo

(tick)

(error)

MtlX Multiply

mtlxmultiply

ND_multiply

(tick)

(tick)

MtlX Normalize

mtlxnormalize

ND_normalize

(tick)

(tick)

MtlX Power

mtlxpower

ND_power

(tick)

(error)

MtlX Sign

mtlxsign

ND_sign

(tick)

(error)

MtlX Sin

mtlxsin

ND_sin

(error)

(error)

MtlX Sqrt

mtlxsqrt

ND_sqrt

(tick)

(error)

MtlX Subtract

mtlxsubtract

ND_subtract

(tick)

(error)

MtlX Tan

mtlxtan

ND_tan

(tick)

(error)

MtlX Transform Matrix

mtlxtransformmatrix

ND_transformmatrix

(tick)

(error)

MtlX Transform Normal

mtlxtransformnormal

ND_transformnormal_vector3

(error)

(error)

MtlX Transform Point

mtlxtransformpoint

ND_transformpoint_vector3

(error)

(error)

MtlX Transform Vector

mtlxtransformvector

ND_transformvector_vector3

(error)

(error)



Pbr

MtlX Standard Surface

mtlxstandard_surface

(tick)

(error)



Shader


MtlX Convert

mtlxconvert

(error)

(error)

MtlX Surface Unlit

mtlxsurface_unlit

(tick)

Partial

The following functions are supported in Solaris:

  • sin
  • cos
  • tan
  • sqrt
  • log
  • floor
  • exp
  • ceil
  • asin
  • acos



Reference


Was this helpful?