changed lighting for ray-tracer to load from param.