Garry's Mod

Garry's Mod

140 ratings
Customizable Lens Flares
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic
File Size
Posted
Updated
74.717 KB
13 Mar, 2022 @ 11:02am
19 Dec, 2022 @ 12:55am
6 Change Notes ( view )

Subscribe to download
Customizable Lens Flares

In 1 collection by Isemenuk27
Sandbox War/Build Collection
41 items
Description
Description
Simple client side addon.
Which paints glitter from the sun on the screen,
with the possibility of customization.
You can customize: colors, sizes, transparency, etc.
You can also create your own presets.


Presets
Presets can be loaded in spawnmenu or in console.
To load preset from menu: double click on file in Lens Flares settings
To delete preset: right click on item
To save preset: enter presets name in text entry panel and click "Save preset"

You cant delete or rewrite default presets.

Presets are stored here: GarrysMod\garrysmod\data\snfl


CVARS
snfl_sprites - list of materials for sprites.
snfl_sprites_angles - list of angle offsets for sprites
snfl_sprites_scales - list of scales for sprites.
snfl_load - load presets with console
snfl_enable - disable/enable flares
cvarlist snfl_ - prints all cvars for this addon


Github[github.com]
Upscaled flares textures
41 Comments
millermilano1 16 Jun @ 9:19pm 
[Customizable Lens Flares] lua/autorun/client/lensflare.lua:261: bad argument #2 to '__add' (Vector expected, got nil)
1. __add - [C]:-1
2. v - lua/autorun/client/lensflare.lua:261
3. unknown - lua/includes/modules/hook.lua:96
Isemenuk27  [author] 23 Apr @ 8:23am 
Sorry, I'm not gonna do that.
Avatar Thanos 23 Apr @ 5:04am 
Can you add the bodycam lens effect from my favorite game which is the realistic bodycam style firstperson shooter horror game called Deppart Prototype please
SpitFire 14 Jul, 2023 @ 5:29pm 
i cant find lens flares in the spawn menu or console
Childeric_Bantu 21 May, 2023 @ 4:22am 
Thank you! :D
Isemenuk27  [author] 21 May, 2023 @ 4:21am 
This addon only adds one visual effect, its the glittering when looking at sun.
Childeric_Bantu 21 May, 2023 @ 4:19am 
so i can activate like all the visual effect? :)
Isemenuk27  [author] 21 May, 2023 @ 4:17am 
Should be enabled by default, but map must have sun object
Childeric_Bantu 21 May, 2023 @ 4:08am 
Please say me, it is to activate or it is automatic?
Tin 16 May, 2023 @ 2:58pm 
how do you use the mod