Vignette | Universal RP | 7.1.8
docs.unity3d.com
    Show / Hide Table of Contents

    Vignette

    In photography, vignetting is the term for the darkening and/or desaturating towards the edges of an image compared to the center. In real life, thick or stacked filters, secondary lenses, and improper lens hoods are usually the cause of this effect. You can use vignetting to draw focus to the center of an image.

    Using Vignette

    Vignette uses the Volume system, so to enable and modify Vignette properties, you must add a Vignette override to a Volume in your Scene.

    To add Vignette to a Volume:

    1. In the Scene or Hierarchy view, select a GameObject that contains a Volume component to view it in the Inspector.
    2. In the Inspector, navigate to Add Override > Post-processing and click on Vignette. Universal Render Pipeline applies Vignette to any Camera this Volume affects.

    Properties

    Property Description
    Color Use the color picker to set the color of the vignette.
    Center Set the vignette center point. For reference, the screen center is [0.5, 0.5].
    Intensity Set the strength of the vignette effect.
    Smoothness Use the slider to set the smoothness of the vignette borders. Values range between 0.01 and 1. The higher the value, the smoother the vignette border. The default value is 0.2.
    Rounded When enabled, the vignette is perfectly round. When disabled, the vignette matches the shape on the current aspect ratio.
    In This Article
    • Using Vignette
    • Properties
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023