Addon Entry

Now supporting the newest garrysmods.org

New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!

Mirrors

Mirror 1 - Show

File: Lens Flare v2
Version: 2
Garrysmod.org URL: http://www.garrysmod.org/downloads/?a=view&id=118892
Description: This is a revised version of the lens flare addon by Mahalis (Orignal can be found here) http://www.garrysmod.org/downloads/?a=view&id=58818

The original LUA code from as much as I could understand was quite clean and simple, but the actual textures used were lacking the realism I was looking for.

Basically now instead of 7 lens elements, there are 17. And all using new, custom made textures to simulate a far more realistic optical flare effect.

1: You can alter flare intensity or turn it completely off. (It's a post-processing effect like DOF and Light Rays.)
2: It will not lag at all, as it is simply sprites being rendered onscreen.
3: It is not usable simultaineously with the old version of the mod.

I unfortunately wasn't able to iron out the bug with looking directly at the sun, which caused the flare to flicker. (I'm no LUA coder.)

Hope you guys find a use for it. =P

Image: Lens