We should only pass in cameraPos rather than camera if we only need cameraPos.