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?
2 Answers
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.
-
\$\begingroup\$ I have done that already, but it just won't show up... \$\endgroup\$– mr-mattOct 12, 2015 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-mattOct 12, 2015 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\$ Oct 13, 2015 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-mattOct 13, 2015 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\$ Oct 14, 2015 at 5:08
Sorted it out now, just had to add a Lens Flare component to my directional light, didn't realise you had to do that!
-
\$\begingroup\$ M happy that you have sorted out your problem ;) \$\endgroup\$ Oct 20, 2015 at 6:45