I know very little about shader programming, but the other shaders that already support soft particles do not give me the effect I’m looking for. The blending modes are way too extreme and the vertex shader above gives me exactly what I want (color and blending), except for the fact that all the particles intersect with the scene geometry. If anyone could point me in the right direction I would appreciate it. I’m looking for something similar to this: https://www.youtube.com/watch?v=ES0IY_e5Kd8.
I doubt you can achieve that with a fixed function shader (why does everyone keep using them anyways?). Move on to a surface shader… or even better, custom vert/frag shader
I still have not found any way to achieve this effect in Unity. I would even be willing to pay someone who could program a shader with vertex lighting and depth blending.
That’s so strange. So how does the Vertex Lit particle shader get lighting information then? There are particle shaders with depth blending (soft particles) and there are particle shaders with vertex lighting… why can’t you have both?
I just wanted to say, I came across this thread looking for the same thing (a vertex-lit soft particle shader) and I was unable to find one.
However depending on your scene, you might be able to get away with using the soft particle shader and simply modify the color & alpha value to fake a type of “global” lighting intensity. I’ve been using this with a directional sun light that has a basic day/night cycle and it doesn’t look too bad.
I have managed to do exactly as you have suggested. It works well enough to get the desired effect. My biggest issue was wanting to have my soft particles illuminated by a flashlight or other light sources, but oh well.
not to be the party pooper but you will have problems getting lights to work on particles, mainly because particle are dynamically generated to be just one mesh which will produce errors in the additional lights when particle stack on top of each other, they will get additive, you can still make 4 vertex lights to work or invent your own system to simulate surround lighting, i’m just alerting you with the incoming problems