-
parenting lens flare to sun
Hi there, I’m adding a cheesy lens flare to 3D scene with 2D layering. At the moment I thought it wise to parent the flare to the sun in the sky so as my camera moves, the flare moves with the sun. This is the effect I want.
But to have the flare move accurately along with its parent, I have to set the Z positions the same. This puts the flare behind all my other layers and obviously it should be overlaid across the whole screen
Any advice or help? Maybe I’m taking the wrong approach?
Maybe the flare should be on top and it’s position attribute ‘parent-pointing’ at the sky? I’m not sure how I’d go about that.