Added sun position as an argument to the render function.