working on grid based lighting