Garry's Mod

Garry's Mod

Dynamic Fire Light (DFL)
Showing 1-2 of 2 entries
Update: 7 Jul @ 9:19am

Updated default values for ConVars:
• dfl_flicker: from 3 to 2
• dfl_points: from 10 to 12

Added new ConVars:
• dfl_maxdistance: controls max render distance (500–4000)
• dfl_update_rate: controls update frequency (0–1)
• dfl_flickerquality: sets flicker quality (1–3)

Improved flicker effect:
• Flicker now smoother and affected by quality setting
• Flicker intensity scaled with random variation

Optimized light points calculation:
• Flicker applied per light point with individual targets

Added distance-based fading and culling:
• Lights fade out beyond max distance
• Entities removed if too far or invalid

Refined fire color gradient:
• Smooth color interpolation through multiple gradient stops
• More realistic fire color transitions

Changed rendering hook to RenderScene for better performance
Added proper cleanup on entity removal and shutdown
General code cleanup and optimization for readability and efficiency

Update: 6 Jul @ 4:26pm