Search Unity

Using HDR Colors in a UI Canvas?

Discussion in 'High Definition Render Pipeline' started by Skitto, Sep 20, 2019.

  1. Skitto

    Skitto

    Joined:
    Jun 3, 2017
    Posts:
    19
    Hello, I have a few instances where I am using a canvas in world space. Is there a way to enable HDR color picking for UI elements to create objects with bloom on canvases?
     
  2. X0FloH

    X0FloH

    Joined:
    May 25, 2016
    Posts:
    7
    You would be better off creating the text in photoshop, going to it's blending options, adding outside bloom (I think its called that) and export it as a png to unity.
     
  3. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    715
    Consequently preventing your game to be localized effectively.
     
    YESTON and GodlikeAurora like this.
  4. barbelot

    barbelot

    Joined:
    Jul 18, 2017
    Posts:
    38
    I had the same problem and I ended copying the Unity UI shader and just adding the HDR tag to it :

    1. Create a new shader.
    2. Copy the default shader code in it from the built-in shader you want to use.
    3. In the properties at the beginning of the shader, add "[HDR]" in front of the color properties you want to be HDR.
     
    yyylny likes this.
  5. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
  6. nicloay

    nicloay

    Joined:
    Jul 11, 2012
    Posts:
    540
    mastaqat likes this.