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