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