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