HDR Emulation Scale | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    HDR Emulation Scale

    All Lights in the 2D lighting system support HDR. While a typical RGBA32 color channel has the range of zero to one, a HDR channel can go beyond one.

    Light RGB(1,1,1) HDR Light RGB(1,1,1) + Light RGB(2,2,2)
    Light RGB(1,1,1) HDR Light RGB(1,1,1) + Light RGB(2,2,2)

    However, not all platforms natively support HDR textures. HDR Emulation Scale allows those platforms to use HDR lighting by compressing the number of expressible colors in exchange for extra intensity range. Scale describes this extra intensity range. Increasing this value too high may cause undesirable banding to occur.

    Light Intensity scale examples:

    HDR Reference Light Intensity Scale 1 (No HDR)
    HDR Reference Light Intensity Scale 1 (No HDR)
    Light Intensity Scale 4 Light Intensity Scale 12
    Light Intensity Scale 4 Light Intensity Scale 12

    When choosing a value for HDR Emulation Scale, the developer should choose the combined maximum brightness for the lights in the scene as the value.

    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