Skip to content

textmode.filters.js / VignetteOptions

Interface: VignetteOptions

Configuration options for the 'vignette' filter.

Darkens the edges and corners of the image, drawing focus to the center. Useful for creating a cinematic look or highlighting central content.

Example

Properties

PropertyTypeDescription
amountnumberIntensity of the darkening effect. - 0.0 = no vignette - 0.5 = moderate vignette (default) - 1.0 = very dark edges Default 0.5
softnessnumberFalloff gradient softness. - 0.0 = hard edge (sharp transition) - 0.5 = moderate gradient (default) - 1.0 = very soft, gradual falloff Default 0.5
roundnessnumberShape of the vignette. - 0.0 = rectangular (follows screen edges) - 0.5 = rounded rectangle (default) - 1.0 = circular/elliptical Default 0.5