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