> For the complete documentation index, see [llms.txt](https://video-copilot.gitbook.io/opticalflaresnuke/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://video-copilot.gitbook.io/opticalflaresnuke/using-optical-flares-for-nuke/3d-lens-flare-obscuration.md).

# 3D Lens Flare Obscuration

***

1. Connect the output of a scanline render node to the matte input of Optical Flares
2. Set the source Type to "3D"
3. Enable "3D Depth Matte Occlusion" in the 3D Tab of Optical Flares

{% hint style="info" %}
You can adjust soft occlusion sampling by altering the Occlusion Test Radius
{% endhint %}
