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