Looking for a Particles Alpha Blended Lit Premultiply

hi Unity’s !

I’m quite a newbie in Unity shaders and i can’t make what i’m willing to …

I’m looking for a shader for a shuriken particle system . The closest I get to what i want is with the Particles/AlphaBlendedPremultiply, but what i’m missing is that the particles can receive it’s color/tint from the spot lights on my scene.

Basically i’m willing to have a particle that has a texture with alpha, which blends and which color is calculated by the spot lights that interact with these particles.

Maybe it’s there but i can’t find it … ?¿

Is it possible ?

I’ve been trying to read the shader’s code, but i can’t get to implement a pixel light lit on the Particles/AlphaBlendedPremultiply …

Any hints or references will be very much appreciated …

Look at ShadeVertexLightsFull in UnityCG.cginc. Technically this is used for per-vertex lighting, but I think it can be done per pixel.