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