File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/utils/media/effects/virtual-background Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88 * Number of horizontal + vertical blur iterations applied.
99 * Larger value - stronger blur effect. Low GPU impact.
1010 */
11- const DEFAULT_BLUR_PASSES = 3
11+ const DEFAULT_BLUR_PASSES = 2
1212/**
1313 * Spatial radius of the bilateral filter.
1414 * Larger value - smoother mask over a wider area, softer edges. High GPU impact.
1515 */
16- const SIGMA_SPACE = 10
16+ const SIGMA_SPACE = 9
1717/**
1818 * Range sensitivity of the bilateral filter.
1919 * Larger value: more smoothing across edges. Low GPU impact.
2020 */
21- const SIGMA_COLOR = 0.15
21+ const SIGMA_COLOR = 0.25
2222/**
2323 * Sampling stride scale for the bilateral kernel.
2424 * Larger value - faster processing, rougher mask refinement. High GPU impact.
2525 */
26- const SPARSITY_FACTOR = 0.66
26+ const SPARSITY_FACTOR = 0.95
2727
2828/**
2929 * WebGL-based compositor for background effects.
You can’t perform that action at this time.
0 commit comments