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