ParticleManager and Light dont mix well

Hi all,

If I was to turn on some light on the particles, they just turn all white. Is it because their vertexcolors go away when lighting is on?



How would I go about disabeling lighting on that node without making a new lightstate?

What’s wrong with making a second lightstate? That’s what they are there for.

Lighting is not for particles anyhow. Why add the overhead of lighting all those quads when they should be colored and textured in a pre-determined manner anyhow? Maybe there is a good reason to use GL lighting on particles, but if so, you’d want to add a material state and ignore the particle color settings.