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