Forum rules - please read before posting.

disable use of HDR on purpose?

I sent a build to a friend and they played it on a tv screen with HDR and it looked nasty! :( I have URP with post processing volumes and the HDR from the guys tv seemed to be doubling up on those, does anyone know if there are settings in AC (or unity itself) that disables it's use so that even if people have HDR on, it won't affect the look of the game?

Comments

  • I've never disabled HDR before, but I've done something similar with chromatic aberration, depth of field, etc. First I add this to the top of the script:

    using UnityEngine.Rendering.PostProcessing;

    Then I declare a PostProcessVolume and a ChromaticAberration:

    public PostProcessVolume _volume;
    private ChromaticAberration _chromaticaberration;
    

    Then I do this:

    _volume.profile.TryGetSettings(out _chromaticaberration);

    And now when I want to disable it, I just do this:

    _chromaticaberration.enabled.value = false;

    The process must be similar for HDR.

  • Awesome, thank you! I will look in to this B)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.