sets lights parameters and shaders