Docs
r182
文档
r182
输入与访问器
通用输入
subgroupMul
subgroupShuffleDown
subgroupExclusiveAdd
subgroupBroadcastFirst
subgroupXor
Stack
uniformCubeTexture
mx_divide
mx_ramp4
subgroupBallot
subgroupMin
color
materialReference
builtinAOContext
screenDPR
replaceDefaultUV
subgroupMax
mx_unifiednoise2d
textureLevel
subgroupShuffleXor
mx_transform_uv
PI2
directionToFaceDirection
subgroupElect
uniformArray
mx_modulo
time
subgroupShuffle
PI2 (TWO_PI)
HALF_PI
uniformTexture
OnBeforeObjectUpdate
mx_unifiednoise3d
stepElement
lightProjectionUV
OnBeforeMaterialUpdate
vogelDiskSample
subgroupShuffleUp
vertexStage
mx_ifgreater
PI
subgroupExclusiveMul
uniformFlow
addMethodChaining
mx_ifequal
interleavedGradientNoise
intBitsToFloat
builtin
builtinShadowContext
mx_invert
mx_timer
inverse
mx_rotate2d
subgroupInclusiveAdd
mx_frame
scriptableValue
mx_place2d
mx_separate
mx_subtract
subgroupInclusiveMul
mx_atan2
mx_ifgreatereq
textureBicubic
subgroupOr
INFINITY
uniform
nodeObjectIntent
userData
EPSILON
subgroupBroadcast
局部/变换后坐标
tangentView
tangentWorld
transformedBitangentView
bitangentView
bitangentWorld
normalLocal
transformedBitangentWorld
transformedBentNormalView
positionWorld
normalView
transformedClearcoatNormalView
positionWorldDirection
positionPrevious
bitangentLocal
transformedTangentWorld
normalViewGeometry
normalWorldGeometry
transformedNormalView
transformedNormalWorld
transformedTangentView
bentNormalView
positionLocal
shadowPositionWorld
positionView
positionViewDirection
normalWorld
clearcoatNormalView
模型/对象
highpModelViewMatrix
modelScale
objectDirection
modelWorldMatrixInverse
modelWorldMatrix
objectRadius
modelRadius
objectPosition
modelNormalMatrix
objectScale
modelViewMatrix
mediumpModelViewMatrix
objectWorldMatrix
objectViewPosition
modelViewProjection
modelViewPosition
highpModelNormalViewMatrix
modelDirection
modelPosition
渲染/屏幕/视口
velocity
backgroundIntensity
drawIndex
viewportLinearDepth
viewportMipTexture
toneMappingExposure
pointUV
cameraViewport
viewportTexture
viewportSize
viewportSharedTexture
screenUV
frameGroup
viewportSafeUV
backgroundBlurriness
viewportDepthTexture
viewport
viewportUV
pointWidth
backgroundRotation
viewportCoordinate
frameId
faceDirection
screenSize
screenCoordinate
deltaTime
frontFacing
深度
depth
linearDepth
viewZToLogarithmicDepth
depthPass
viewZToPerspectiveDepth
viewZToOrthographicDepth
几何体属性
tangentLocal
instanceIndex
instancedDynamicBufferAttribute
tangentGeometry
skinning
positionGeometry
vertexIndex
buffer
vertexColor
normalGeometry
uv
instancedMesh
instance
instancedBufferAttribute
bitangentGeometry
attribute
光照
lightViewPosition
lightProjectionUV (函数)
lightShadowMatrix
lightPosition
lightTargetPosition
材质属性
materialEnvRotation
anisotropyB
materialAO
materialMetalness
materialLineScale
materialLineDashSize
materialSpecular
materialOpacity
materialSpecularIntensity
anisotropyT
materialReference (函数)
anisotropy
dashSize
materialAttenuationDistance
materialPointSize
dispersion
materialIOR
materialAttenuationColor
attenuationDistance
specularColor
materialLineGapSize
clearcoat
materialTransmission
transmission
sheen
materialEnvIntensity
diffuseColor
materialIridescenceThickness
materialSheen
specularF90
materialLineDashOffset
materialLineWidth
materialThickness
iridescenceIOR
materialSpecularColor
materialClearcoatNormal
shininess
materialRoughness
materialSheenRoughness
materialAnisotropy
materialColor
materialAlphaTest
gapSize
materialIridescenceIOR
sheenRoughness
inversesqrt
iridescenceThickness
clearcoatRoughness
roughness
materialReflectivity
materialEmissive
materialShininess
emissive
materialNormal
materialRotation
inverseSqrt
materialClearcoatRoughness
materialRefractionRatio
materialLightMap
materialAnisotropyVector
alphaT
materialDispersion
materialClearcoat
metalness
materialIridescence
materialSpecularStrength
ior
attenuationColor
相机
cameraWorldMatrix
cameraProjectionMatrix
cameraProjectionMatrixInverse
cameraNormalMatrix
cameraNear
cameraIndex
cameraViewMatrix
cameraPosition
cameraFar
数学运算
幂与对数
mx_power
inverseSqrt
log2
log
cbrt
pow2
pow3
pow4
pow
mx_safepower
exp2
sqrt
exp
取整与范围
ceil
floor
max
smoothstep
fract
sign
trunc
round
range
step
clamp
saturate
smoothstepElement
min
位运算
packHalf2x16
packUnorm2x16
countTrailingZeros
countOneBits
bitXor
shiftLeft
bitOr
shiftRight
unpackHalf2x16
countLeadingZeros
xor
bitNot
unpackUnorm2x16
bitAnd
unpackSnorm2x16
向量与矩阵
normalize
difference
faceforward
TBNViewMatrix
vectorComponents
distance
split
dot
length
determinant
lengthSq
transpose
cross
三角函数
cos
acos
tan
sin
atan
asin
坐标/值变换
orthographicDepthToViewZ
radians
directionToColor
spherizeUV
degrees
mx_rotate3d
transformNormalToView
refract
transformDirection
getScreenPosition
billboarding
remapClamp
logarithmicDepthToViewZ
remap
rotate
perspectiveDepthToViewZ
reflect
colorToDirection
getViewPosition
transformNormal
基础算术
mul
abs
add
mx_add
oneMinus
div
remainder
mod
sub
mx_multiply
negate
reciprocal
逻辑与流程控制
比较
notEqual
greaterThan
equal
greaterThanEqual
lessThan
lessThanEqual
逻辑
and
or
all
any
not
流程
output
decrementBefore
increment
Return
select
Discard
stack
decrement
Continue
Loop
loop
Break
incrementBefore
assign
If
Switch
光照与着色
反射/折射
reflectView
refractVector
getParallaxCorrectNormal
reflector
reflectVector
parallaxDirection
textureCubeUV
refractView
法线与粗糙度
normalFlat
faceForward
getNormalFromDepth
getGeometryRoughness
getRoughness
bentNormalView
雾效
fog
rangeFogFactor
densityFogFactor
光照计算
lights
getShIrradianceAt
directPointLight
lightingContext
getDistanceAttenuation
toonOutlinePass
lightTargetDirection
阴影
BasicShadowFilter
BasicPointShadowFilter
PointShadowFilter
shadow
pointShadow
PCFSoftShadowFilter
VSMShadowFilter
PCFShadowFilter
BRDF/BSDF
F_Schlick
thickness
BRDF_Lambert
BRDF_GGX
V_GGX_SmithCorrelated
DFGLUT
D_GGX
iridescence
DFGApprox
Schlick_to_F0
纹理与采样
节点
samplerComparison
parallaxUV
textureBicubic
mx_heighttonormal
equirectUV
triplanarTextures
getDirection
sampler
maxMipLevel
sample
dFdx
texture3D
pmremTexture
cubeTexture
fwidth
bumpMap
cubeToUV
normalMap
dFdy
rotateUV
textureSize
texture
textureBicubicLevel
triplanarTexture
mx_transform_uv
cubeTextureBase
textureLoad
matcapUV
spritesheetUV
颜色操作
混合模式
mix
screen
blendScreen
blendColor
overlay
blendDodge
mixElement
blendBurn
blendOverlay
色调映射
reinhardToneMapping
renderOutput
acesFilmicToneMapping
linearToneMapping
neutralToneMapping
agxToneMapping
toneMapping
cineonToneMapping
颜色调整
posterize
hue
luminance
premult
blur
unpremultiplyAlpha
premultiplyAlpha
gain
cdl
vibrance
grayscale
saturation
mx_contrast
色彩空间
unpremult
sRGBTransferOETF
mx_hsvtorgb
workingToColorSpace
colorSpaceToWorking
mx_rgbtohsv
mx_srgb_texture_to_lin_rec709
sRGBTransferEOTF
convertColorSpace
程序化生成
振荡器/曲线
parabola
oscSawtooth
oscTriangle
oscSquare
sinc
pcurve
oscSine
图案
mx_ramptb
mx_ramplr
checker
shapeCircle
mx_aastep
噪声
mx_fractal_noise_float
mx_cell_noise_float
mx_noise_float
mx_worley_noise_vec3
mx_fractal_noise_vec3
hash
mx_fractal_noise_vec4
rand
triNoise3D
mx_noise_vec4
mx_worley_noise_vec2
mx_worley_noise_float
mx_noise_vec3
mx_fractal_noise_vec2
类型转换
节点
floatBitsToInt
uintBitsToFloat
uvec4
ivec4
ivec3
convert
bool
bvec2
vec4
packSnorm2x16
mat3
vec3
uvec2
mat4
vec2
uvec3
bvec4
int
uint
float
ivec2
floatBitsToUint
bitcast
bvec3
mat2
高级计算与 GPGPU
原子操作
atomicAnd
atomicMin
atomicXor
atomicAdd
atomicMax
atomicLoad
atomicOr
atomicStore
atomicSub
内置变量
localId
subgroupSize
subgroupIndex
workgroupId
globalId
numWorkgroups
invocationLocalIndex
invocationSubgroupIndex
核心
ComputeNode
outputStruct
subgroupAll
subgroupAny
workgroupBarrier
textureBarrier
subgroupAdd
mrt
compute
computeKernel
storageBarrier
subgroupAnd
高级技术
computeSkinning
batch
morphReference
数据结构
attributeArray
referenceBuffer
bufferAttribute
instancedArray
workgroupArray
storage
element
storageTexture
nodeArray
array
textureStore
dynamicBufferAttribute
arrayBuffer
框架与工具
构建与管理
getConstNodeType
setCurrentStack
objectGroup
uniformGroup
NodeType
getCurrentStack
NodeAccess
defined
defaultBuildStages
getTextureIndex
ScriptableNodeResources
getShadowMaterial
NodeShaderStage
NodeUpdateType
getShadowRenderObjectFunction
rendererReference
defaultShaderStages
renderGroup
函数与代码注入
Fn
glslFn
call
OnMaterialUpdate
code
overloadingFn
wgsl
atomicFunc
glsl
subBuild
expression
scriptable
js
OnObjectUpdate
wgslFn
调试与优化
VarIntent
rtt
passTexture
pass
mx_splitlr
Var
mx_splittb
nodeImmutable
setName
convertToTexture
cache
label
debug
bypass
sharedUniformGroup
节点结构与元数据
property
namespace
nodeProxyIntent
string
struct
nodeProxy
nodeObject
varyingProperty
context
ShaderNode
reference
parameter
Const
varying
range
nodeObjects
shaderStages
已弃用节点
dodge
viewportResolution
burn
rangeFog
viewportTopLeft
temp
viewportBottomLeft
tslFn
timerDelta
addNodeElement
equals
append
remainder
atan2
densityFog
uniforms
timerLocal
timerGlobal
cubeToUV
modInt
storageObject
cond
DFGApprox
材质节点
节点
MeshNormalNodeMaterial
MeshToonNodeMaterial
MeshBasicNodeMaterial
MeshSSSNodeMaterial
MeshPhongNodeMaterial
Line2NodeMaterial
LineBasicNodeMaterial
PointsNodeMaterial
MeshPhysicalNodeMaterial
ShadowNodeMaterial
MeshLambertNodeMaterial
MeshStandardNodeMaterial
VolumeNodeMaterial
MeshMatcapNodeMaterial
NodeMaterial
LineDashedNodeMaterial
SpriteNodeMaterial