SSR参数

Export

SSRParams

Hierarchy

Properties

blend: 0.9

a value between 0 and 1 to set how much the last frame's reflections should be blended in; higher values will result in less noisy reflections when moving the camera but a more smeary look,可选,默认0.9

Memberof

SSRParams

blur: 0.5

how much the blurred reflections should be mixed with the raw reflections,可选,默认0.5

Memberof

SSRParams

blurKernel: 1

kernel size of the Box Blur Filter; higher kernel sizes will result in blurrier reflections with more artifacts,可选,默认1.0

Memberof

SSRParams

blurSharpness: 10

exponent of the Box Blur filter; higher values will result in more sharpness,可选,默认10.0

Memberof

SSRParams

correction: 1

how much pixels should be corrected when doing temporal resolving; higher values will result in less smearing but more noise,可选,默认1.0

Memberof

SSRParams

correctionRadius: 1

how many surrounding pixels will be used for neighborhood clamping; a higher value can reduce noise when moving the camera but will result in less performance,可选,默认1.0

Memberof

SSRParams

distance: 10

maximum distance a reflection ray can travel to find what it reflects,可选,默认10.0

Memberof

SSRParams

exponent: 1

exponent by which reflections will be potentiated when composing the current frame's reflections and the accumulated reflections into a final reflection; higher values will make reflections clearer by highlighting darker spots less,可选,默认1.0

Memberof

SSRParams

fade: 0

how much reflections will fade out by distance,可选,默认0.0

Memberof

SSRParams

intensity: 1

intensity of the reflections,可选,默认1.0

Memberof

SSRParams

ior: 1.45

Index of Refraction, used for calculating fresnel; reflections tend to be more intense the steeper the angle between them and the viewer is, the ior parameter sets how much the intensity varies,可选,默认1.45

Memberof

SSRParams

jitter: 0

how intense jittering should be,可选,默认0.0

Memberof

SSRParams

jitterRoughness: 0

how intense jittering should be in relation to a material's roughness,可选,默认0.0

Memberof

SSRParams

kernelSize?: KernelSize

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

Memberof

EffectParameters

maxDepthDifference: 10

maximum depth difference between a ray and the particular depth at its screen position after refining with binary search; higher values will result in better performance,可选,默认10.0

Memberof

SSRParams

maxRoughness: 1

maximum roughness a texel can have to have reflections calculated for it,可选,默认1.0

Memberof

SSRParams

missedRays: true

if there should still be reflections for rays for which a reflecting point couldn't be found; enabling this will result in stretched looking reflections which can look good or bad depending on the angle,可选,默认true

Memberof

SSRParams

refineSteps: 5

once we had our ray intersect something, we need to find the exact point in space it intersected and thus it reflects; this can be done through binary search with the given number of maximum steps,可选,默认5.0

Memberof

SSRParams

resolutionScale?: number

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

Memberof

EffectParameters

resolutionY?: number

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

Memberof

EffectParameters

roughnessFade: 1

how intense reflections should be on rough spots; a higher value will make reflections fade out quicker on rough spots,可选,默认1.0

Memberof

SSRParams

steps: 20

number of steps a reflection ray can maximally do to find an object it intersected (and thus reflects),可选,默认20.0

Memberof

SSRParams

thickness: 10

maximum depth difference between a ray and the particular depth at its screen position before refining with binary search; higher values will result in better performance,可选,默认10.0

Memberof

SSRParams

useNormalMap: true

if normal maps should be taken account of when calculating reflections,可选,默认true

Memberof

SSRParams

useRoughnessMap: true

if roughness maps should be taken account of when calculating reflections,可选,默认true

Memberof

SSRParams

velocityResolutionScale: 1

resolution of the velocity buffer, a resolution of 0.5 means velocity will be rendered at half resolution,可选,默认1.0

Memberof

SSRParams