I am facing a problem when my character is close to a particle system with dynamic lights. The lights go beyond the sprite set with the shader (Sprite / Diffuse):
I have tried to adjust the z-axis of the objects, but if I put the character away from the light the image does not receive light effects. (POINT LIGHT)
Here’s a video to better illustrate the scenario:
I’m new to the particles and lights, what am I doing wrong?
Maybe you would have better control over the light if you didn’t use the particles to control intensity and position.
If you can make it work with a single light instead, make a simple range and intensity script that controls the fire flaring.
This will probably be better for performance as well, as particles can make multiple lights per system.
It can, you can limit the amount of lights used in the “Maximum Lights”. Might be hard to notice, since in the quality setting the pixel light count is set low by default.
Testing it with many particle lights and a high pixel light count, batches(draw calls) increases.