Shader Learn

06 Space, camera and depth

Camera: who is looking at the scene

The top right shows the camera’s view volume; nearby objects look bigger.

2580
39
Explanation

Drag the underlined numbers left and right

camera.position.z = ;camera.fov = ;camera.updateProjectionMatrix();renderer.render(scene, camera);
CameraFOV is the viewing angle, not a scale on the object.

FOV is a viewing angle, not a zoom; both camera distance and FOV change the projection matrix.

Try it

  • Set FOV to 25, then 80
  • Watch how the camera volume changes in the small view at the top right