Optional
biasAn occlusion bias. Eliminates artifacts caused by depth discontinuities. ,可选,默认0.025
SSAO2Params
Optional
depthEnables or disables depth-aware upsampling. Has no effect if WebGL 2 is not supported. ,可选,默认true
SSAO2Params
Optional
fadeInfluences the smoothness of the shadows. A lower value results in higher contrast. ,可选,默认0.01
SSAO2Params
Optional
intensityThe intensity of the ambient occlusion. ,可选,默认1.0
SSAO2Params
Optional
kernel模糊内核大小,可选,默认KernelSize.MEDIUM
EffectParameters
Optional
luminanceDetermines how much the luminance of the scene influences the ambient occlusion. ,可选,默认0.7
SSAO2Params
Optional
minThe minimum radius scale. Has no effect if distance scaling is disabled. ,可选,默认0.1
SSAO2Params
Optional
radiusThe occlusion sampling radius, expressed as a scale relative to the resolution. Range [1e-6, 1.0]. ,可选,默认0.1825
SSAO2Params
Optional
resolution分辨率缩放系数,可选,默认1
EffectParameters
Optional
resolutionY渲染target大小,可选,默认480
EffectParameters
Optional
ringsThe amount of spiral turns in the occlusion sampling pattern. Should be a prime number. ,可选,默认7
SSAO2Params
Optional
samplesThe amount of samples per pixel. Should not be a multiple of the ring count. ,可选,默认9
SSAO2Params
Optional
worldThe world distance falloff. Influences the smoothness of the occlusion cutoff. ,可选,默认undefined
SSAO2Params
Optional
worldThe world distance threshold at which the occlusion effect starts to fade out. ,可选,默认undefined
SSAO2Params
Optional
worldThe world proximity falloff. Influences the smoothness of the proximity cutoff. ,可选,默认undefined
SSAO2Params
Optional
worldThe world proximity threshold at which the occlusion starts to fade out. ,可选,默认undefined
SSAO2Params
SSAO2参数
Export
SSAO2Params