Right now I have a hand-painted mesh with a .png diffuse texture. I tried fading the color over time :
Color = select(Color,Color*LifeRatio,Age > 1.1);
My logic being that the alpha from float4 color will also slowly turn to zero as particles get nearer to death.
This works if the mesh shading material is set to additive, but then, the mesh is half transparent all the time.
I want the mesh to be solid without lightning. if I set the material to solid, then the alpha doesn't turn to 0, And my mesh stays visible all the time, instead of fading out.