Added support for lights and shadows