A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
This code will change the brightness of the lens flare with distance to the camera. Adjust the "strength" parameter to get the desired effect....
Hi kremology. This is a very glitchy method. You have to first make sure that the camera can't see the flare. Then move the camera so that it can....
unity3dx, why were you getting a compile error? I can only see one thing you've changed in the code (the counter), and it doesn't really change...
Well hippocoder, we've all been waiting a long time for lens flares to work properly, and have requested a fix several times, but nothing ever...
Attach this script to any lens flare in your scene. It will now appear and disappear instantaneously when occluded by an object or when it's...
Yes it does, my approach was actually intended more for glass than water. The built in fresnel effect changes the reflection value based on the...
Actually, I just figured out a way of adjusting the reflection value by creating your own Fresnel Texture. Here's a link to the page where I...
Still not ready for sale?
http://answers.unity3d.com/questions/8029/how-can-i-control-the-strength-of-the-reflection-in-the-pro-fx-water-shader This is code for allowing...
This looks amazing. Is it possible to buy yet?
Here's some code to alter the brightness of flares as a linear inverse function of distance from the camera. Just put the script on the main...
Have you noticed that Lens Flares work perfectly in Scene View, with regards to fading in and out behind colliders? Is there any way to have this...
Here's some code to alter the brightness of flares as a linear inverse function of distance. var light : Transform; var lf : LensFlare; var...
Oh, and for anyone looking for how to increase or decrease the brightness of flares with distance, here's some code. Attach it to your main...
Lens Flares appear and disappear instantaneously behind colliders in the Scene View, but in Game View, they fade in and out in a very unrealistic...