SSAO2参数

Export

SSAO2Params

Hierarchy

Properties

bias?: number

An occlusion bias. Eliminates artifacts caused by depth discontinuities. ,可选,默认0.025

Memberof

SSAO2Params

depthAwareUpsampling?: boolean

Enables or disables depth-aware upsampling. Has no effect if WebGL 2 is not supported. ,可选,默认true

Memberof

SSAO2Params

fade?: number

Influences the smoothness of the shadows. A lower value results in higher contrast. ,可选,默认0.01

Memberof

SSAO2Params

intensity?: number

The intensity of the ambient occlusion. ,可选,默认1.0

Memberof

SSAO2Params

kernelSize?: KernelSize

模糊内核大小,可选,默认KernelSize.MEDIUM

Memberof

EffectParameters

luminanceInfluence?: number

Determines how much the luminance of the scene influences the ambient occlusion. ,可选,默认0.7

Memberof

SSAO2Params

minRadiusScale?: number

The minimum radius scale. Has no effect if distance scaling is disabled. ,可选,默认0.1

Memberof

SSAO2Params

radius?: number

The occlusion sampling radius, expressed as a scale relative to the resolution. Range [1e-6, 1.0]. ,可选,默认0.1825

Memberof

SSAO2Params

resolutionScale?: number

分辨率缩放系数,可选,默认1

Memberof

EffectParameters

resolutionY?: number

渲染target大小,可选,默认480

Memberof

EffectParameters

rings?: number

The amount of spiral turns in the occlusion sampling pattern. Should be a prime number. ,可选,默认7

Memberof

SSAO2Params

samples?: number

The amount of samples per pixel. Should not be a multiple of the ring count. ,可选,默认9

Memberof

SSAO2Params

worldDistanceFalloff?: number

The world distance falloff. Influences the smoothness of the occlusion cutoff. ,可选,默认undefined

Memberof

SSAO2Params

worldDistanceThreshold?: number

The world distance threshold at which the occlusion effect starts to fade out. ,可选,默认undefined

Memberof

SSAO2Params

worldProximityFalloff?: number

The world proximity falloff. Influences the smoothness of the proximity cutoff. ,可选,默认undefined

Memberof

SSAO2Params

worldProximityThreshold?: number

The world proximity threshold at which the occlusion starts to fade out. ,可选,默认undefined

Memberof

SSAO2Params