handle7 fields
SceneVignette
The scene's vignette post-processing. Read/write its fields, or set scene.vignette = nil to disable.
- Obtained from
Scene.vignette- Accepted by
Scene.vignette
Fields 7
| Field | Type | Access | Description |
|---|---|---|---|
intensity | number | read/write | Strength of the corner darkening (0 = none, 1 = black corners). |
radius | number | read/write | Size of the clear center region; larger values shrink the vignette. |
smoothness | number | read/write | Softness of the edge between the clear and dark areas. |
roundness | number | read/write | Shape of the vignette; 1 is a circle, lower is more rectangular. |
edge_compensation | number | read/write | Compensates the darkening toward the screen edges. |
center | Vec2 | read/write | Vignette center in UV space (0..1; screen center is (0.5, 0.5)). |
color | Color | read/write | Color the corners fade toward. |