Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted How do you change the actual colors in the shader graph?

Discussion in 'Shader Graph' started by WASD098, Oct 22, 2020.

  1. WASD098

    WASD098

    Joined:
    Aug 24, 2020
    Posts:
    12
    Whenever I click on the colour values it doesn't do anything?
     
    marufdhaka and Miiir like this.
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,344
    Hi and welcome @WASD098,

    Can you be a bit more specific with your description? When you say "...I click on the colour values..." do you mean the Color node, or what exactly? You should be able to click the Color node's color box (that rectangle where you see a color) to open a color picker.
     
    Last edited: Oct 25, 2020
  3. VicariousVoxels

    VicariousVoxels

    Joined:
    Aug 19, 2019
    Posts:
    1
    Not OP, But I too have this issue. I recently did a fresh install of unity on a new system. Imported my project, and everything has been fine. However in the shader graph when trying to click on a color to change it via the color picker nothing happens. This is true on custom properties, as well as default ones such as even the PBR master node.

    Any help would be appreciated if this is user error, if not I will do a bug report and downgrade versions.
     
    Miiir likes this.
  4. NickJVaccaro

    NickJVaccaro

    Joined:
    Apr 29, 2013
    Posts:
    3
    @VicariousVoxels Have you opened a bug for this yet? I am experiencing the same issue. I'm on Unity 2019.4.13f1 and things were working fine up until a few minutes ago. Suddenly I can't change colors in shader graph.

    However, I can change colors in the rest of Unity. So if anyone else runs into this and can change colors in the rest of Unity, you can pick a color, copy it, and paste it in to shader graph.
     
  5. WanAmir

    WanAmir

    Joined:
    Jul 17, 2018
    Posts:
    5
    I have the same problem too.
    I solve it by hold [ctrl] + click at the color.
    Hold [shift] + click works too!
    I dont know if this bug or what.
     
  6. polemical

    polemical

    Joined:
    Jun 17, 2019
    Posts:
    746
    It is odd. Thanks for the tip. I can confirm the shift+click solution is working in 2021.1.0a4, URP 10.1, Windows 10.
     
    DSivtsov likes this.
  7. NickJVaccaro

    NickJVaccaro

    Joined:
    Apr 29, 2013
    Posts:
    3
    Interesting! Shift/Alt/Ctrl+click all work for me as well, on 2019.4.13f1. Thank you @WanAmir!
     
    BostonGamesLLC likes this.
  8. Nandha

    Nandha

    Joined:
    Oct 9, 2020
    Posts:
    1
    thank you so much for this help ....
     
  9. WASD098

    WASD098

    Joined:
    Aug 24, 2020
    Posts:
    12
    Thank you. That was very helpful.
     
  10. hrithikshar

    hrithikshar

    Joined:
    Dec 21, 2017
    Posts:
    1
    Thanks...it worked
     
  11. yeOldeCodeSmythe

    yeOldeCodeSmythe

    Joined:
    Sep 1, 2014
    Posts:
    1
    For me it was [ctrl] + click
    [shift] + click did not seem to work for me.
    whereas the color picker shows up elsewhere in Unity.
     
  12. polemical

    polemical

    Joined:
    Jun 17, 2019
    Posts:
    746
    I noticed this is fixed in 2021.1.0a7 (if not earlier) - can now just click a color next to an output, in node settings or on a Color node and the selection dialog opens as expected. Tested in Shader Graph 10.2.0, then again after update to 10.2.1.
     
  13. marufdhaka

    marufdhaka

    Joined:
    Oct 25, 2020
    Posts:
    3
    I face the same problem
    Shift+Left Click works Fine
     
  14. BostonGamesLLC

    BostonGamesLLC

    Joined:
    Jan 19, 2019
    Posts:
    11
    thanks again! this was a fix for v19.4.15f1
     
    DSivtsov likes this.
  15. DSivtsov

    DSivtsov

    Joined:
    Feb 20, 2019
    Posts:
    65
    But in v19.4.14f1
    Problem the same.
    I can't imagine how can this type of bug issued on current stage of package :(LWRP 7.3.1 & Shader Graph 7.3.1)
     
  16. UnityMaru

    UnityMaru

    Community Engagement Manager Unity Technologies

    Joined:
    Mar 16, 2016
    Posts:
    951
    Is the Shift/Alt/Ctrl+click solution working? It's not clear if you're saying this fix isn't working or simply clicking it as intended isn't working for you - it's been reported above that v19.4.15f1 fixes this, which is one patch above yours.
     
  17. DSivtsov

    DSivtsov

    Joined:
    Feb 20, 2019
    Posts:
    65
    Problem WAS the same. May be I was not clear - in v19.4.14f1 also demanding to use the Shift/Alt/Ctrl+click to change color.
    I spend many times to find solution for this stupid problem.
     
  18. cgreenland

    cgreenland

    Joined:
    Jan 19, 2021
    Posts:
    1
    Thank you! For me holding down ctrl + cmd worked. I use Unity 2019.4.13f1.
     
  19. RMode99

    RMode99

    Joined:
    Jun 4, 2020
    Posts:
    1
    thanks
     
    BostonGamesLLC likes this.
unityunity