Sub topic 12
Lens Shift and Passepartout
Assume you know how to enter camera view, change camera properties, and set the render resolution. This chapter focuses on two camera-view controls: lens shift and passepartout. They change how you judge and compose a shot, but they do not move the camera itself.
Lens shift
Lens shift moves the camera’s projected frame across the scene without rotating or translating the camera. In Blender, you set it in the camera data properties under Lens > Shift.
The two controls have different directions:
- Shift X moves the frame horizontally.
- Shift Y moves the frame vertically.
A positive value shifts the framing in the corresponding image direction. The exact result can feel reversed if you think in terms of moving the camera rather than moving the projected frame. Check the camera view after each change.
Lens shift is useful when the camera must remain level. For example, when photographing a tall building, tilting the camera upward makes vertical lines converge. Instead, keep the camera level and use vertical lens shift to place the building higher in the frame. This is called a perspective-control technique.
Lens shift also helps when you need to recompose a shot without changing perspective. Moving the camera changes the relative sizes and positions of objects. Lens shift does not create that same camera movement, so it is useful for small framing corrections.
Passepartout
Passepartout darkens the area outside the camera frame while you work in the 3D viewport. It does not affect the rendered image. It only helps you concentrate on the part of the scene that will be captured.
Enable it in the camera data properties with Passepartout. The Passepartout Alpha value controls the darkness:
- A low alpha leaves the outside area more visible.
- A high alpha makes the outside area darker.
- An alpha of 1 makes the area outside the frame fully opaque in the viewport.
Passepartout is especially helpful when positioning lights, checking a set around the frame, or judging whether distracting objects sit just outside the shot.
A framing workflow
Use this sequence when correcting a camera composition:
- Set the render resolution and percentage first. The camera frame’s shape depends on the output aspect ratio.
- Enter camera view and enable passepartout.
- Turn on composition guides such as the rule of thirds if they help your shot.
- Move the camera when you need to change perspective or the subject’s scale.
- Rotate the camera or use a tracking constraint to aim at the subject.
- Use lens shift for a final horizontal or vertical framing correction.
- Render a test image. Viewport framing can differ from the final render because of resolution, cropping, or render borders.
The camera, lens shift, and frame work together:
Common errors
| Problem | Likely cause | Correction |
|---|---|---|
| The building leans inward | The camera is tilted upward | Level the camera and use Shift Y |
| The subject changes size unexpectedly | The camera was moved | Use lens shift for a small framing correction |
| The render looks different from the viewport | Resolution or render borders differ | Match output settings and test-render |
| The area outside the frame appears in the render | Passepartout was mistaken for a mask | Remember that passepartout affects only the viewport |
Exercise
You want to raise a building in the frame while keeping its vertical edges straight. Should you tilt the camera upward or use vertical lens shift?
Show answer
Keep the camera level and use vertical lens shift. Tilting upward can make the vertical edges converge.