“Affected by light” is really quite vague. All of Unity’s standard “Lit” shaders are affected by light. Could you be a bit more specific about what you’re looking for?
Alright, the point of this project is to be in complete darkness with enemies popping into the light suddenly. I need a snow system that comes and goes to obscure movement at various intervals so playing on the player’s anxiety.
The problem is that every snow system that I’ve seen uses a particle system, and to the best of my knowledge there is no solution to make particles be effected by lighting.
I need the snow to come into view as it passes in front of the player’s flashlight, or other sources of light.
I can’t have the game be completely pitch black, but then have this snow viewable from several yards away at every angle.
I offset the flashlight slightly down and to the right, which is why you see a few particles below and to the right of the light cone. If you put the flashlight on the camera gaze line, those snow particles are invisible.
The most non-standard thing I used is that legacy transparent shader on the snow particles… I could not get the standard shader to work for me so I just started fiddling.
Note: if I was playing a creepy dark snowy game and your smiling avatar, teddy bear with a bandaid on his head, came looming at me out of the crowd, I believe I would be extremely distressed.