# Vignette Effect

In photography and optics, [vignetting](https://en.wikipedia.org/wiki/Vignetting) is the reduction of an image's brightness or saturation at the periphery compared to the image center. You can use it to draw attention to the center of the frame.

Here is an image without the effect:

[Image: Image without effect]

And the same image with the effect applied:

[Image: Image with effect]

The built-in vignette effect has the following attributes:

* **Offset**: Controls the offset of the effect.
* **Darkness**: Controls the darkness of the effect.

Find the post-processing effect script on [GitHub](https://github.com/playcanvas/engine/blob/main/scripts/posteffects/posteffect-vignette.js).
