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