
The tilt–shift effect is a camera technique that makes scenes look like miniature scale models. We noticed that HDRP does not come with a built-in emulation of that, so we have decided to fix that.The tilt–shift effect is a photographic and cinematic technique that makes real-life scenes look like miniature scale models.It comes from two optical manipulations:•Tilt – changing the angle of the lens relative to the image plane. This shifts the plane of focus (following the Scheimpflugprinciple) and allows selective focus in unusual directions, rather than just parallel to the sensor.•Shift – moving the lens parallel to the image plane. This corrects or distorts perspective, often used in architectural photography to keep vertical lines straight.When combined, and especially when tilt is used creatively, it produces an effect where only a narrow band of the image is in sharp focus, while the rest is heavily blurred. Our brains interpret that as a shallow depth of field, which we normally associate with macro photography of small objects. As a result, large cityscapes, railways, or crowds can appear as though they’re tiny models. Traditionally, photographers achieve this with special tilt–shift lenses, which can be physically tilted or shifted in relation to the camera sensor. Tilting narrows the zone of focus, and shifting adjusts perspective, creating the illusion of miniatures straight in-camera.The package includes the following folders:DemoScene Contains a sample scene showcasing a simple implementation of the Tilt–Shift effect. You can use this scene as a reference or as a starting point for your own projects.Docs The documentation.Prefabs Includes the TiltShift Volume prefab, which can be easily dragged and dropped into your scene to enable the effect quickly.Scripts Contains the custom post-process volume script that powers the Tilt–Shift effect.Shaders Provides the Tilt–Shift shader used to render the effect.