Hello
The Unity lens flares assets are great.
But could it be possible to:
1 - Make the speed of fade modifiable.
For now it is so slow that the flare appears behind the collidable object and fades away behind it.
A faster speed would make it more realistic.
Remember that light goes at the speed of … light. Hence the flare should disappear instantaneously behind an occluder.
2 - Make the flare ignore some colliders
Could you make the flare ignore some colliders tag?
This could permit to have an atmosphere, glass or shield force that doesn’t occlude the flare.
Seems this thread also mention it.
3 - Fade out flares with distance to camera
The flares should decrease (linear, exp, …) with distance
http://forum.unity3d.com/viewtopic.php?t=15269
With settable param of course
4 - The Fade bool parameter doesn’t seem to work.
Not sure about this one. Maybe I didn’t understand what this bool do.
Isn’t the Fade param intended to make the flare disappear instantaneously if false when passing behind a collider?
Setting it false or true doesn’t seem to change anything.
Is this a bug or am I mistaken something?
5 - In the editor the collider must be bigger than the mesh???
Strangely I have this only in the editor not in the standalone.
As you can see in the screenshot below the collider must be much bigger than the mesh to be realistic.
The collider radius must be nearly exactly 2.6 to make the flare appear at the mesh border
In fact the more the camera is away from the collider the bigger it must be relative to the mesh dimensions!
To make it realistic I will need to change the collider size depending on the distance from the camera…
Of course this is also inconvenient because the collider doesn’t match the object.
Am I missing something here or is this also a “bug/feature”?
PS: Doest someone has a custom flare code that does all that?
Thanks