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