I’m wanting to add a lens flare to a composite i’m working on. The lens flare is made from a one-vert mesh with a halo texture. It has it’s own designated renderlayer with nothing else on it.
Problem is I need this to disappear behind other objects on another layer. That’s what i’m struggling with. I would just add that layer to the renderlayer, but then i run into a problem in the composite: I’m using an “add” node to add the flare-layer to the rest. If it has any of that ALPHA from these objects in it, then it just adds their value ontop…
I hope that made sense for someone. Any suggestions?
ALSO: I thought about taking the ALPHA of the objects and using an ALPHA overnode for masking the flare… but then that wouldn’t be realistic, because flares don’t act like that. How is this typically done?