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