Light flare through transparent texture

I’ve created a mountain background using a bitmap texture (with alpha channel) on a quad. I want to create the impression of the sun setting behind the mountains. I am having difficulty getting this to work. Either the flare is not visible through the quad at all (including the transparent section) or it is always visible through the quad (even when it is obscured by the mountain texture). I’m wondering if it is something to do with the collider which by default is presumably set to the whole quad?

Any ideas how to fix this?

The way light flares work in Unity is very binary, either fully on or fully off, and they’re always rendered over everything. If you want something that looks more like a sunset glow behind some mountains you’ll want to use something other than Unity’s flare system. Either a particle system or just a large manually placed quad.

Ok thanks. Shame - I was hoping unity would do all the hard work for me :stuck_out_tongue: