C
Tilt Shift
The tilt shift effect simulates depth of field in a simple and performant manner. Instead of blurring based on the depth buffer, it blurs everything except for a horizontal or vertical stripe on the layer.
Properties
Property | Description |
---|---|
Focus position | The vertical placement of the center of the focused area on the screen. A value 0.5 will put the center in the middle of the screen. |
Focus width | The height of the focused area. |
Debug rendering | Allows you to see exactly how the focus variables work. |
Blur amount | The amount of blur applied to the unfocused areas. |
Vertical | Makes the effect work vertically instead of horizontally. |
Invert blur | Inverts the blur so that the center is blurred while the other areas are sharp. |
Usage
To make it easier to set up this effect, enable Debug focus rendering. When enabled, the scene view switches to a mode showing the amount of blur to be applied. Anything completely fogged in white is entirely blurred, anything that is fully black is entirely in focus, and shades of grey represent varying amounts of blur in between. It is far easier to turn on this mode and adjust the values in the inspector palette until the content you want is bracketed, compared to performing distance calculations and entering numbers.
Available under certain Qt licenses.
Find out more.