Search Unity

Question Shader Graph Particle Shader

Discussion in 'Shader Graph' started by Malveka, Oct 12, 2020.

  1. Malveka

    Malveka

    Joined:
    Nov 6, 2009
    Posts:
    191
    Hello - I'm would like to create a particle shader in ShaderGraph that honors the Color Over Lifetime setting in a Shuriken particle system. Is this possible? I'm working in URP, 2019.4. Any insights welcomed!
     
  2. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    As_day, esbenrb, kam_curo and 2 others like this.
  3. Malveka

    Malveka

    Joined:
    Nov 6, 2009
    Posts:
    191
    Likewise confirmed. Thanks @polemical for the great detective work!

    I'm now using the alpha channel of a Vertex color node to allow my screen space gradient particle shader to fade in/out using the particle system Color Over Lifetime property. So far it's working perfectly.
     
    adamgolden likes this.
  4. ItamarGeller

    ItamarGeller

    Joined:
    Sep 7, 2023
    Posts:
    4
  5. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    example_vertex_color_and_alpha.png
     
  6. As_day

    As_day

    Joined:
    Nov 21, 2013
    Posts:
    5
    adamgolden likes this.