Search Unity

SRP Particle Shaders

Discussion in 'Shaders' started by JGannonH5G, Apr 16, 2019.

  1. JGannonH5G

    JGannonH5G

    Joined:
    Apr 30, 2018
    Posts:
    4
    Hello, I'm trying to create some shaders for particle systems to use and I'm running into a road block with features in shuriken like color over life. What node/property name needs to be exposed for shuriken to be able to access those values so I can fade out/change the color of a particle over its life time?

    when using node based plug ins like shader forge I'd simply have a vertex color node and these features worked. That's not the case with SRP. Any helps appreciated.

    Cheers
     
  2. JGannonH5G

    JGannonH5G

    Joined:
    Apr 30, 2018
    Posts:
    4
    resolved - Apparently Vertex color can't be plugged straight into alpha and must be split and the alpha channel isolated.
     
  3. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,285