Search Unity

Feedback shadergraph text file syntax is insane

Discussion in 'Shader Graph' started by laurentlavigne, Mar 29, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
    8600 lines for this baby graph
    upload_2021-3-28_16-34-39.png

    in contrast ASE is 200 lines, that's a 40x ratio which is complete insanity since more data is included in ASE node position connection and actual shader
     
  2. jbooth

    jbooth

    Joined:
    Jan 6, 2014
    Posts:
    5,461
    Most of the shader graph output is boilerplate that copies structures from the ones you use into generically named ones and back, along with a ton of boilerplate that gets commented in/out and conversion code for lighting that could be in an include file instead of written for every pass. Ironically the things you often want to modify are actually in include files instead of all this boilerplate..
     
    Olmi and laurentlavigne like this.
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
    Good to know, it saves me from trying to make sense of it.
     
  4. altepTest

    altepTest

    Joined:
    Jul 5, 2012
    Posts:
    1,115
    what is ASE?
     
  5. I'm guessing Amplify Shader Editor.
     
    laurentlavigne likes this.