added support for different lighting in path tracing