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

Question Should I report this as a bug? Or Am I missing something?

Discussion in 'Shader Graph' started by sixolar, Apr 30, 2019.

  1. sixolar

    sixolar

    Joined:
    Jan 8, 2014
    Posts:
    37
    Hi,

    I made this very very simple graph : Graph.PNG

    Everything looks fine, but if you actually pick the colors of the 3 grey square, you don't get 0.5 grey as you should, in fact, you dont even get the same values???

    • You get 0.73 grey (188, 188, 188) on the right box, I don't know why it's not 0.5, but if picked with an hdr color picker, it does show (128, 128, 128) but is nowhere near a true 0.5 grey color... Why?
    • Second, the bottom box shows (200, 200, 200) in non-hdr, and (138, 138, 138) in hdr, how does this make any sense?
    I'm going crazy trying to understand what's wrong with some more complexe graph, but I can't even understand this, please help :(
     
  2. sixolar

    sixolar

    Joined:
    Jan 8, 2014
    Posts:
    37
    Okay the values not being the same seems to be a bug in the 5.2.3 version only (i'm using 2019.2.0a13) but in the lastest shadergraph version, in 2019.1, it's fixed.

    I still have no idea why 0.5 as a color does not translate to exact 0.5 RGB values though.
     
  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,120
    Not at all related to your issue, but just a reaction to the screenshot. What's the story with the top inputs into the multiply nodes? You've connected another node to those inputs, but it's still showing the input fields to manually enter a value? Is this some 2019.1 bug? Is does it mean something special for those both to be shown together?