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