DepthOfField3D
GPU GpuApplies depth-of-field blur to a rendered 3D scene.
DepthOfField3D uses the scene depth buffer to blur out-of-focus regions, giving the 3D render a stronger sense of lensing and depth.
Parameters
| Name | Type | Description |
|---|---|---|
| focus_distance | float | Distance that stays in focus. |
| aperture | float | Strength of the blur around the focus plane. |
| max_blur | float | Maximum blur radius. |
| near_plane | float | Near clip used when decoding depth. |
| far_plane | float | Far clip used when decoding depth. |
Ports
| Name | Direction | Type |
|---|---|---|
| color | Input | TEXTURE |
| depth | Input | TEXTURE |
| texture | Output | TEXTURE |