Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Can Unity output to HDR monitor

Discussion in 'Universal Render Pipeline' started by ChickenVegetable, Jul 10, 2022.

  1. ChickenVegetable

    ChickenVegetable

    Joined:
    May 3, 2020
    Posts:
    82
    Can URP actually output an HDR signal to a supporting monitor?

    I don't mean HDR values with tone mapping applied to map the values to an SDR signal, but actual HDR values displayed on the monitor.

    Currently it is clamping the values and I can visually see they are dimmer when compared to an HDR image on the same screen.

    If it is possible, is it also possible to render HDR on a supporting iphone?

    Thanks
     
  2. PaulMDev

    PaulMDev

    Joined:
    Feb 19, 2019
    Posts:
    67
  3. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    631
  4. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Unity can output to HDR monitor with built-in renderer or with recent HDRP version. Worth noting that HDR output only works with DX12 in the editor but DX11 does work in actual build. Bug report here https://issuetracker.unity3d.com/issues/the-editor-doesnt-support-hdr-when-directx-11-is-enabled

    As for URP's HDR output support, I wouldn't get hopes up since we haven't seen any staff member mentioning it's coming nor have there been anything for it on the github (altho granted Unity's work is now more hidden there since they don't mirror the WIP branches anymore).
     
    DevDunk likes this.
  5. ChickenVegetable

    ChickenVegetable

    Joined:
    May 3, 2020
    Posts:
    82
    Really? I didn't find any way to do that, if that's true I'm fine going with built-in renderer!
     
  6. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    This API is in Unity 2020+:
    https://docs.unity3d.com/2020.1/Documentation/ScriptReference/HDROutputSettings.html

    I don't have own experience working with this on built-in renderer beyond testing the HDR display detection through that API. For HDR output I've only tried HDRP so can't tell how well this works for built-in.
     
  7. AljoshaD

    AljoshaD

    Unity Technologies

    Joined:
    May 27, 2019
    Posts:
    172
    Work on HDR output in URP has started. The aim is to have it in 2023.1 and we are considering to backport it to 2022.2 (no guarantees yet).
     
  8. tsawar

    tsawar

    Joined:
    Jul 15, 2022
    Posts:
    1
    I don't mean HDR values that have been tone-mapped to an SDR signal, but rather the real HDR values that are visible on the monitor.

    Since it is clamping the values right now, I can see that they are darker than an HDR image displayed on the same screen.



    Is it possible, if it is, to render HDR on an iPhone that supports it?



    Thanks
     
  9. Dmitry-Pyalov

    Dmitry-Pyalov

    Joined:
    Dec 13, 2011
    Posts:
    125