2
\$\begingroup\$

I have a simple sun flare that I would like to appear on my directional light (sun). However I cannot see the flare, I have tried setting the ignore layers to everything and checked and double checked that there is a flare layer on my camera. The light is also rotating constantly as I have a day/night cycle too if that means anything for the flare... Anyway, could someone show me how to fix this?

\$\endgroup\$
2
\$\begingroup\$

You can attach the flare as-

Select light(in the Game)-> Go to add component-> Select Effects-> Select Lens Flare Now you will get Flare's field, where you can attach your Sun Flare by simply select the flare that you want. In this you can also set the size of flare.

\$\endgroup\$
  • \$\begingroup\$ I have done that already, but it just won't show up... \$\endgroup\$ – mr-matt Oct 12 '15 at 17:33
  • \$\begingroup\$ I have draw halo on an I can see that moving perfectly, but I can't see my flare. \$\endgroup\$ – mr-matt Oct 12 '15 at 17:41
  • \$\begingroup\$ Ohh now I got why you facing this problem I guess you didn't enable the Flare option just next to your game window..... Didn't...? Do that and let me know. \$\endgroup\$ – Shraddha Patel Oct 13 '15 at 7:08
  • \$\begingroup\$ Do you mean the little sun like icon or the square with the landscape? Either way I tried both, neither worked. \$\endgroup\$ – mr-matt Oct 13 '15 at 17:50
  • \$\begingroup\$ Yeah its just next to the the game window and it doesn't have any icon. There is a small arrow sign onto which you will click then you will find the check box with the name flare then you can enable that option then flare will be showing in your game. \$\endgroup\$ – Shraddha Patel Oct 14 '15 at 5:08
0
\$\begingroup\$

Sorted it out now, just had to add a Lens Flare component to my directional light, didn't realise you had to do that!

\$\endgroup\$
  • \$\begingroup\$ M happy that you have sorted out your problem ;) \$\endgroup\$ – Shraddha Patel Oct 20 '15 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.