Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  3. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Mini-Tutorial - How to access ShaderGraphs Properties

Discussion in 'Graphics Experimental Previews' started by DarkToadster, Jun 16, 2018.

  1. DarkToadster

    DarkToadster

    Joined:
    Sep 10, 2015
    Posts:
    18
    Hey Guys !

    Here is a quick demonstration about how you can access properties from ShaderGraph by script.
    This may be useless with the upcoming Updates to ShaderGraph, but for now, its the only method currently working.

    https://abload.de/img/shadergraph0cspt.gif



    But keep in mind :
    Every time you change the Shader with ShaderGraph, the properties get a new name.
    So relook the propertie's name in the debug view every time !


    Best Regards
    DarkToadster
     
  2. AlfieBooth

    AlfieBooth

    Joined:
    Dec 2, 2013
    Posts:
    31
    you total legend.