Adds 2D and 3D camera modes.