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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Resolved Is there a way to define an HDR Color property?

Discussion in 'Shader Graph' started by lcompton, Dec 23, 2020.

  1. lcompton

    lcompton

    Joined:
    Mar 31, 2018
    Posts:
    79
    I have an Unlit HDRP Shader Graph that I'd like to send an HDR Color property to. It looks like you simply can't do that. There's an HDR Color attached to the Emission input by default, but it looks like it isn't possible to set up an HDR Color as an input property. Is that the case? If I'm mistaken, how do you define an HDR Color property?
     
  2. lcompton

    lcompton

    Joined:
    Mar 31, 2018
    Posts:
    79
    I figured it out. For those having the same problem, here's what you do.
    • create your color property
    • select it
    • open "Node Settings" in the Graph Inspector
    • change the Mode to HDR
     
    hhoffren, rezuma, Coolhatena and 4 others like this.
  3. constantinpopp

    constantinpopp

    Joined:
    Jul 21, 2017
    Posts:
    5
    thanks for posting this. this helped me. :D
     
    lcompton likes this.
  4. rbisso

    rbisso

    Joined:
    Jul 13, 2011
    Posts:
    29
    Thank you very much! It helped a lot
     
    lcompton likes this.
  5. unity_LSllk3BwtNpfYA

    unity_LSllk3BwtNpfYA

    Joined:
    Dec 31, 2020
    Posts:
    1
    Why does the "mode" option don´t appear to me? i am in a subgraph working
     
  6. FredMoreau

    FredMoreau

    Unity Technologies

    Joined:
    May 27, 2019
    Posts:
    113
    Because adding a property to a Sub Graph will make an input, not a property.