Passing in renderer, scene, and camera rather than finding them in the render function.