A 2D lighting and shadows engine using WebGL