Depth of field: particles away from the focus distance become larger, softer and fainter.
What it is for
Gives the cloud a photographic depth: a sharp zone, with soft discs in front of it and behind it. Use it to guide the eye to one part of the system or to match the depth of field of the Blender camera.
How it works
For each particle the add-on measures its distance from the focus distance, along the view. The larger that gap and Amount, the more the particle is enlarged, and its light is spread over the larger disc, so an out-of-focus particle is bigger but dimmer. In the camera view, the focus distance is the one of the Blender camera when its Depth of Field is on (its Focus Distance or its focus object); otherwise it is the distance from the camera to the object of the particle system. In a free view it is the orbit distance of the view. Focus Offset is added to that distance. Without this effect in a chain, there is no depth of field.
Connections
Single node: plug the Render output of a Particle System (or the Image output of the previous effect) into its Image input, and its Image output into the next effect or into the Systems input of the Render node. It only sets numbers, so its place in the chain does not matter. The same effect exists as a section of the Effects node, with its own on/off checkbox.
Settings
| Setting | What it does | Default |
|---|---|---|
| Image | connection | |
| Amount | Strength of the blur: how fast the particles grow as they leave the focus distance. 0 = everything sharp. Higher values give a thinner sharp zone and larger discs. | 0.6 |
| Focus Offset | Moves the focus distance, in scene units: positive values focus further away, negative values closer to the camera. It also moves the distance where Fog starts. | 0 |
Outputs
Image
Tips
- Turn on Depth of Field on the Blender camera and pick a focus object: the particles then focus on the same point as the scene.
- Animate Focus Offset for a focus pull through the cloud.
- Max Size of Particle Size also limits the out-of-focus discs: leave it at 0 for large foreground bokeh.
- Out-of-focus particles get dimmer; compensate with Exposure if the cloud loses too much light.