docs.unity3d.com
    Show / Hide Table of Contents

    Enum MeteringMode

    Metering methods that HDRP uses the filter the luminance source

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public enum MeteringMode

    Fields

    Name Description Value
    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.

    Back to top
    Terms of use
    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