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