+7
Under review
Custom Particles Shader / Vertex Lighting
I've nearly got a custom particle shader setup the way I need it to be, but currently the lighting on the particles gets really screwy. For example, pointing a spot light from the first person camera (effectively a flashlight) causes strange errors with the spotlight cookie when pointed at the particles. In this screenshot you can see the outline of the cookie texture overlaid onto the particles. Would a vertex lighting option fix this? Is Shader Forge unable to currently create replacement particle shaders?
Customer support service by UserEcho
https://gist.github.com/Farfarer/158b23f694c2c995f...
This is some code from Farfarer who claims to have lit particles going.
Originates from this thread:
http://forum.unity3d.com/threads/175273-deferred-r...
I didn't have the time to take a closer look at this stuff - but maybe it points in the right direction for integrating a "make this a particle shader - switch" inside SF.
It would be really great to have a ShaderForge solution to particle lighting.