docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum MeteringMode

    Metering methods that HDRP uses the filter the luminance source

    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public enum MeteringMode

    Fields

    Name Description
    Average

    The Camera uses the entire luminance buffer to measure exposure.

    CenterWeighted

    The Camera applies a weight to every pixel in the buffer and then uses them to measure the exposure. Pixels in the center have the maximum weight, pixels at the screen borders have the minimum weight, and pixels in between have a progressively lower weight the closer they are to the screen borders.

    MaskWeighted

    The Camera applies a weight to every pixel in the buffer and then uses them to measure the exposure. The weighting is specified by the texture provided by the user. Note that if no texture is provided, then this metering mode is equivalent to Average.

    ProceduralMask

    Create a weight mask centered around the specified UV and with the desired parameters.

    Spot

    The Camera only uses the center of the buffer to measure exposure. This is useful if you want to only expose light against what is in the center of your screen.

    See Also
    meteringMode
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)