Docs
r182
Docs
r182
Inputs & Accessors
Lighting
lightPosition
lightShadowMatrix
lightViewPosition
lightTargetPosition
lightProjectionUV
General Input
mx_transform_uv
stepElement
addMethodChaining
mx_place2d
subgroupOr
userData
subgroupShuffleXor
subgroupShuffleDown
INFINITY
mx_ifgreatereq
interleavedGradientNoise
EPSILON
OnBeforeObjectUpdate
mx_ifequal
uniformFlow
uniform
mx_modulo
builtinShadowContext
materialReference
mx_unifiednoise3d
vogelDiskSample
textureBicubic
replaceDefaultUV
mx_invert
mx_rotate2d
mx_timer
uniformTexture
subgroupShuffleUp
HALF_PI
subgroupMin
builtin
Stack
scriptableValue
time
subgroupBroadcastFirst
PI2 (TWO_PI)
subgroupMax
subgroupXor
inverse
PI
subgroupBroadcast
textureLevel
mx_ifgreater
subgroupExclusiveAdd
subgroupElect
color
uniformArray
uniformCubeTexture
PI2
mx_divide
subgroupMul
lightProjectionUV
builtinAOContext
mx_ramp4
mx_subtract
screenDPR
subgroupInclusiveMul
subgroupShuffle
subgroupInclusiveAdd
vertexStage
mx_separate
OnBeforeMaterialUpdate
intBitsToFloat
mx_frame
mx_atan2
subgroupBallot
nodeObjectIntent
subgroupExclusiveMul
mx_unifiednoise2d
directionToFaceDirection
Camera
cameraIndex
cameraProjectionMatrixInverse
cameraViewMatrix
cameraPosition
cameraProjectionMatrix
cameraWorldMatrix
cameraNear
cameraFar
cameraNormalMatrix
Model/Object
modelViewProjection
modelDirection
objectPosition
objectDirection
modelPosition
mediumpModelViewMatrix
modelWorldMatrix
modelScale
modelViewMatrix
objectRadius
modelRadius
objectWorldMatrix
highpModelViewMatrix
modelViewPosition
highpModelNormalViewMatrix
objectViewPosition
modelWorldMatrixInverse
modelNormalMatrix
objectScale
Material Property
materialShininess
materialMetalness
specularColor
dispersion
materialClearcoatRoughness
materialRotation
materialAnisotropyVector
materialClearcoat
materialAlphaTest
clearcoatRoughness
materialPointSize
clearcoat
materialAttenuationDistance
materialColor
materialIridescenceIOR
metalness
materialLineWidth
materialSheenRoughness
materialReference
inverseSqrt
materialLightMap
materialReflectivity
shininess
materialDispersion
materialIridescence
specularF90
materialOpacity
materialLineDashSize
materialRefractionRatio
materialEnvIntensity
anisotropyT
diffuseColor
materialEnvRotation
dashSize
alphaT
sheenRoughness
materialSpecularColor
attenuationColor
roughness
materialSpecularStrength
materialAttenuationColor
ior
materialSheen
emissive
materialAO
iridescenceThickness
materialIridescenceThickness
materialSpecularIntensity
gapSize
materialEmissive
inversesqrt
iridescenceIOR
materialClearcoatNormal
materialAnisotropy
sheen
materialSpecular
materialLineGapSize
materialRoughness
materialLineDashOffset
materialLineScale
materialThickness
transmission
materialTransmission
anisotropyB
anisotropy
materialIOR
materialNormal
attenuationDistance
Local/Transformed Coordinates
transformedNormalView
transformedBitangentWorld
positionWorld
tangentWorld
bitangentLocal
normalWorld
positionPrevious
normalWorldGeometry
tangentView
transformedTangentView
positionLocal
normalView
transformedNormalWorld
transformedClearcoatNormalView
positionView
normalViewGeometry
clearcoatNormalView
positionViewDirection
shadowPositionWorld
normalLocal
positionWorldDirection
bitangentView
bitangentWorld
transformedTangentWorld
transformedBentNormalView
bentNormalView
transformedBitangentView
Render/Screen/Viewport
backgroundIntensity
toneMappingExposure
screenUV
viewportSafeUV
viewportMipTexture
screenCoordinate
pointUV
backgroundRotation
frameId
viewportLinearDepth
faceDirection
backgroundBlurriness
cameraViewport
viewportDepthTexture
frontFacing
drawIndex
screenSize
deltaTime
frameGroup
viewportSharedTexture
velocity
pointWidth
viewportCoordinate
viewportTexture
viewportSize
viewport
viewportUV
Geometry Attribute
vertexColor
instance
tangentLocal
vertexIndex
bitangentGeometry
instancedMesh
buffer
instancedBufferAttribute
uv
positionGeometry
normalGeometry
skinning
instanceIndex
tangentGeometry
instancedDynamicBufferAttribute
attribute
Depth
viewZToLogarithmicDepth
viewZToPerspectiveDepth
depthPass
linearDepth
viewZToOrthographicDepth
depth
Mathematical Operations
Trigonometric Functions
cos
tan
acos
sin
atan
asin
Vector and Matrix Operations
split
normalize
vectorComponents
transpose
faceforward
TBNViewMatrix
distance
lengthSq
difference
dot
length
cross
determinant
Bitwise Operations
shiftLeft
bitXor
bitOr
countLeadingZeros
unpackSnorm2x16
xor
countOneBits
countTrailingZeros
packHalf2x16
unpackUnorm2x16
unpackHalf2x16
packUnorm2x16
bitAnd
bitNot
shiftRight
Rounding and Range Operations
round
range
step
min
clamp
smoothstep
fract
saturate
trunc
ceil
smoothstepElement
max
sign
floor
Basic Arithmetic
negate
mx_add
reciprocal
div
add
mod
mul
abs
remainder
oneMinus
sub
mx_multiply
Coordinate and Value Transformations
transformNormal
perspectiveDepthToViewZ
directionToColor
reflect
colorToDirection
mx_rotate3d
getScreenPosition
logarithmicDepthToViewZ
refract
remap
radians
billboarding
orthographicDepthToViewZ
remapClamp
spherizeUV
degrees
transformDirection
rotate
getViewPosition
transformNormalToView
Powers and Logarithms
inverseSqrt
pow4
log2
log
pow
exp2
pow3
exp
cbrt
mx_safepower
sqrt
mx_power
pow2
Logic & Flow Control
Flow
stack
loop
If
Switch
incrementBefore
decrementBefore
output
select
Loop
Break
Continue
assign
Return
decrement
Discard
increment
Comparison
equal
lessThanEqual
greaterThan
lessThan
greaterThanEqual
notEqual
Logic
and
or
any
all
not
Lighting & Shading
Reflection / Refraction
parallaxDirection
textureCubeUV
reflector
getParallaxCorrectNormal
reflectVector
reflectView
refractView
refractVector
Fog
rangeFogFactor
densityFogFactor
fog
Lighting Calculations
getShIrradianceAt
directPointLight
lights
lightTargetDirection
lightingContext
toonOutlinePass
getDistanceAttenuation
BRDF/BSDF
DFGLUT
thickness
Schlick_to_F0
BRDF_GGX
BRDF_Lambert
V_GGX_SmithCorrelated
F_Schlick
D_GGX
DFGApprox
iridescence
Shadows
PCFSoftShadowFilter
PCFShadowFilter
shadow
pointShadow
BasicShadowFilter
PointShadowFilter
BasicPointShadowFilter
VSMShadowFilter
Normals & Roughness
getNormalFromDepth
getGeometryRoughness
getRoughness
faceForward
bentNormalView
normalFlat
Color Operations
Color Adjustments
grayscale
posterize
saturation
cdl
luminance
mx_contrast
premult
unpremultiplyAlpha
blur
hue
premultiplyAlpha
gain
vibrance
Tone Mapping
neutralToneMapping
toneMapping
acesFilmicToneMapping
reinhardToneMapping
renderOutput
cineonToneMapping
agxToneMapping
linearToneMapping
Blend Modes
blendScreen
overlay
mixElement
blendColor
blendDodge
blendBurn
screen
blendOverlay
mix
Color Spaces
convertColorSpace
mx_rgbtohsv
mx_srgb_texture_to_lin_rec709
vibrance
sRGBTransferEOTF
sRGBTransferOETF
mx_hsvtorgb
workingToColorSpace
unpremult
colorSpaceToWorking
Procedural Generation
Patterns
checker
mx_ramptb
mx_aastep
mx_ramplr
shapeCircle
Oscillators / Curves
sinc
oscSine
oscTriangle
pcurve
parabola
oscSquare
oscSawtooth
Noise
mx_noise_float
mx_fractal_noise_vec3
triNoise3D
mx_worley_noise_vec2
mx_fractal_noise_vec4
mx_worley_noise_float
mx_worley_noise_vec3
mx_fractal_noise_float
mx_noise_vec4
rand
mx_cell_noise_float
hash
mx_fractal_noise_vec2
mx_noise_vec3
Type Conversion
Node
ivec3
floatBitsToUint
vec4
bitcast
packSnorm2x16
floatBitsToInt
uvec4
uvec3
vec3
convert
mat2
bool
uint
ivec2
uvec2
ivec4
vec2
bvec3
uintBitsToFloat
mat4
bvec4
mat3
int
float
bvec2
Advanced & GPGPU
Advanced Techniques
morphReference
batch
computeSkinning
Core
subgroupAdd
outputStruct
ComputeNode
storageBarrier
workgroupBarrier
subgroupAnd
mrt
compute
subgroupAll
textureBarrier
computeKernel
subgroupAny
Atomic Operations
atomicMax
atomicAdd
atomicXor
atomicLoad
atomicSub
atomicOr
atomicStore
atomicMin
atomicAnd
Data Structures
arrayBuffer
storageTexture
storage
element
instancedArray
nodeArray
array
bufferAttribute
workgroupArray
attributeArray
dynamicBufferAttribute
referenceBuffer
textureStore
Built-in Variables
subgroupSize
globalId
localId
invocationLocalIndex
invocationSubgroupIndex
subgroupIndex
numWorkgroups
workgroupId
Framework & Utilities
Construction & Management
objectGroup
defaultBuildStages
NodeType
NodeUpdateType
getTextureIndex
getShadowRenderObjectFunction
getCurrentStack
getShadowMaterial
defaultShaderStages
NodeAccess
uniformGroup
renderGroup
defined
ScriptableNodeResources
getConstNodeType
setCurrentStack
NodeShaderStage
rendererReference
Node Structure & Metadata
ShaderNode
nodeObject
shaderStages
varyingProperty
namespace
string
struct
nodeProxy
property
Const
parameter
varying
reference
range
context
nodeProxyIntent
nodeObjects
Function & Code Injection
glslFn
subBuild
glsl
call
scriptable
overloadingFn
js
OnObjectUpdate
code
expression
OnMaterialUpdate
atomicFunc
Fn
wgslFn
subgroupSize
wgsl
Debugging & Optimization
pass
nodeImmutable
bypass
mx_splitlr
rtt
sharedUniformGroup
setName
mx_splittb
Var
passTexture
convertToTexture
cache
VarIntent
debug
label
Deprecation Node
tslFn
addNodeElement
viewportTopLeft
equals
atan2
DFGApprox
temp
cond
burn
rangeFog
append
remainder
densityFog
timerGlobal
timerLocal
timerDelta
storageObject
uniforms
dodge
viewportBottomLeft
modInt
cubeToUV
viewportResolution
Node Material
Node
ShadowNodeMaterial
MeshToonNodeMaterial
LineBasicNodeMaterial
VolumeNodeMaterial
MeshSSSNodeMaterial
LineDashedNodeMaterial
MeshBasicNodeMaterial
MeshPhysicalNodeMaterial
MeshPhongNodeMaterial
PointsNodeMaterial
MeshStandardNodeMaterial
MeshLambertNodeMaterial
Line2NodeMaterial
MeshNormalNodeMaterial
SpriteNodeMaterial
LineDashedNodeMaterial
MeshMatcapNodeMaterial
NodeMaterial
Texture & Sampling
Node
getDirection
triplanarTexture
maxMipLevel
bumpMap
rotateUV
sample
cubeTextureBase
texture3D
mx_transform_uv
sampler
parallaxUV
normalMap
pmremTexture
spritesheetUV
matcapUV
mx_heighttonormal
cubeTexture
textureLoad
texture
textureSize
textureBicubicLevel
dFdy
equirectUV
samplerComparison
triplanarTextures
fwidth
textureBicubic
dFdx
cubeToUV