# Sapphire lens flare occlusion

**URL:** <https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244>\
**Category:** Flame Questions\
**Created:** [January 29, 2021, 11:47am UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244 "2021-01-29T11:47:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/grant/32/1139_2.png) [@Grant](https://forum.logik.tv/u/Grant)\
**Post date:** [January 29, 2021, 11:47am UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244/1 "2021-01-29T11:47:39Z")

</div>

Hello All, Any Flame Sapphire OFX users around? I’m trying to occlude a lens flare by piping a matte into the occlusion input. The lens flare just goes black. I checked the help file. It lists a bunch of occlusion parameters that look like exactly what I need. The thing is, these parameters are nowhere to be found inside the OFX node. Very strange indeed. Do you know where they might be hiding? Or how you ‘activate’ the occlusion. Cheers! Grant

---

<div class="post-metadata">

**Author:** ![Peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Peter](https://forum.logik.tv/u/Peter)\
**Post date:** [January 29, 2021, 1:54pm UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244/2 "2021-01-29T13:54:47Z")

</div>

![Sapphire_flare_occlusion](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/0/098d522b56a7dbba571b4b3ffcf565736c97537e.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Peter](https://forum.logik.tv/u/Peter)\
**Post date:** [January 29, 2021, 2:04pm UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244/3 "2021-01-29T14:04:32Z")

</div>

I’m not sure if these are the things you’re looking for but on page 3 there are some parameters

 ![flare_occlusion](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/f/f38d1d29245f84a55db31e32e9baf544f4e0a041.jpeg)

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [January 29, 2021, 2:12pm UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244/4 "2021-01-29T14:12:19Z")

</div>

It works but can be fidly. Long shot. Clamp the matte input?

---

<div class="post-metadata">

**Author:** ![Grant](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/grant/32/1139_2.png) [@Grant](https://forum.logik.tv/u/Grant)\
**Post date:** [January 29, 2021, 2:33pm UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244/5 "2021-01-29T14:33:44Z")

</div>

Thanks Peter & Randy.

Yes Peter, those occlusion controls are exactly what I’m looking for. It’s very weird, but they are not showing up for me. I just have Mocha parameters on page 3

Are you on OFX? My Flame is 2021.1.1

Cheers!

 ![Screenshot 2021-01-29 at 14.27.09](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/3/39245129664f6e370932226eeab4c958a911a30c.png)

---

<div class="post-metadata">

**Author:** ![Peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Peter](https://forum.logik.tv/u/Peter)\
**Post date:** [January 29, 2021, 11:57pm UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244/6 "2021-01-29T23:57:47Z")

</div>

Hi Grant,

I’m on Flame 2021.2, Sapphire 2021 OFX

I now see the situation you’re seeing.  
What appears to work is based on selection order:

1. pull out an OFX, select Lens Flare
2. attach Matte 2 (Occlusion Alpha)
3. attach back (occlusion)  
4 attach front

When I tried a different order, the Page 3 Occlusion menu doesn’t appear.

I also tried in LensFlareAutoTrack and see the same pattern.

I think some OFX don’t always give the results we’d expect like in Sparks until we add extra input layers, and it appears to be even based on selection order as well.

---

<div class="post-metadata">

**Author:** ![Grant](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/grant/32/1139_2.png) [@Grant](https://forum.logik.tv/u/Grant)\
**Post date:** [January 30, 2021, 4:56am UTC](https://forum.logik.tv/t/sapphire-lens-flare-occlusion/2244/7 "2021-01-30T04:56:12Z")

</div>

Hello Peter

Thank you for testing this. You are right!

You simply have to pipe in the occlusion first and it works.

I spoke to Brian at Boris - it’s a bug.

Cheers

Grant
