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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Bug HDR color picker >1 intensity drops the rgb

Discussion in 'Editor & General Support' started by andyz, Sep 22, 2020.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,114
    Why does the HDR color picker do odd things when you increase the intensity after you close it.
    e.g. set intensity to 2 with a white (255,255,255) color and close the picker, then when you open it your color is 191,191,192, intensity is 2.4169 which is a lot less 'logical'

    Bug or some odd feature?
     
  2. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,114
    Bug / feature?!
     
  3. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,692
    It's a feature. HDR does something like simulating a larger color space than is available in the normal RGB 0-255 color space. It does this by essentially scaling colors relative to one another to achieve desired relative brightness/darkness (I might be making this up. I'm not 100% sure how it works).

    Read the sentence at the bottom of this page about the behavior you're seeing: https://docs.unity3d.com/Manual/HDRColorPicker.html
     
    andyz likes this.