libgdx/box2dlights

FREQ - Light flicker

adam-law opened this issue · 1 comments

I was thinking that it would be possible to simulate flickering lights, particularly for flame-like lights if light offsets could have options to be tied to box2d horizontal gravity, or have this effect be done internally in box2dlights. I know it's quite possible to do the offset calculation outside of box2dlights, but it'd be convenient if it's built in, so that everything is neatly tied to one render step.

Feels like something trivial to implement with Light#setDistance() unless im missing something obvious.