a simple tiled lighting map in html using the inverse square root