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