Smooth Box2d Lights

Extension to libgdx box2d lights that implements “smooth” lights. Default box2d lights are very “jumpy” due to them using simple raycasts spaced out at certain angle. Unless that angle is small, the gaps between individual lights cause the jumps. Smooth lights solve this problem by casting additional rays to vertices of objects in lights range. This is less efficient then a light with same maximum ray count, but results in a lot better visual effect....

January 1, 2016 · PiotrJ