tModLoader

tModLoader

425 ratings
Dynamic Lights
2
2
3
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Visual Tweaks
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Language: English
File Size
Posted
Updated
77.420 KB
11 Dec, 2021 @ 9:53am
15 Jul @ 3:49pm
4 Change Notes ( view )

Subscribe to download
Dynamic Lights

Description
This mod makes light sources in Terraria dynamic (lights cast shadows and directly illuminated areas are brighter).
Looks fancy sometimes.

Explanation for options:

Shadow Quality determines the resolution of the rendered shadows.
An increase by one doubles the resolution and thus decreases performance.
Below 8, you might experience inaccuracies or artifacts like very thin objects not casting shadows.
Values above 12 need VERY good GPUs (3070+) with very high VRAM, and will potentially crash your game or system otherwise.

Brightness Cutoff removes lights that are dimmer than the set value from casting shadows.
This helps performance, as every light (including tiny glimmers) that casts shadows needs to be calculated.
For reference, gemspark blocks have a brightness of 0.25 to 0.5 depending on color, and torches a brightness of 1.

Maximum Light Cap limits the amount of lights rendered at the same time.
Will prioritize brighter lights. If you don't want to increase the brightness cutoff or decrease quality and only experience performance issues with a lot of particles, decrease this number.

Shadow Smoothness determines how crisp the shadows are.
The higher the value, the smoother and less pronounced are the shadows.

Shine Distance is a multiplicator for how far the dynamic light is cast from a source.

Darkest Brightness determines how much darker areas unlit by dynamic light are.
If set to 0, unlit areas are black. If set to 1, unlit areas are as normal.
Brightest Brightness determines how much brighter lit areas are.
If set to 1, lit areas are as normal, higher values makes them brighter.
Together, these values control the magnitude of the effect.
The farther the values are apart, the stronger the effect.
Special modes are with darkest brightness at 1, which will only make lit areas brighter than normal, and with brightest brightness at 1, which will only make unlit areas darker than normal.

Brightnes Falloff controls, how very bright lights compare to darker lights.
The closer the value is to 1, the more will brighter light sources appear to be brighter.
The larger the value gets, the more will brighter lightsources appear to light further, instead of brighter.

Increase Surface Lighting will not dim unlit areas as harshly when the player is in the surface level or above.
This can help alleviate issues with a seemingly dark day when the darkest brightness is set to low values.

Show Sun will make the sun cast shadows. This is not recommended unless you have a shadow quality of at least 11, or it will look bad.
Originally posted by tModLoader DynamicLights:
Developed By Lafiel
124 Comments
JAGB12 15 Jul @ 8:40pm 
Niceeee
向导Guida 14 Jul @ 3:43am 
finally
Adolf Charles 5 Dec, 2024 @ 1:03pm 
just use fancy lightning, works about the same with enough config
water 12 Oct, 2024 @ 6:24pm 
update is please
AlbertIsABannana 15 Sep, 2024 @ 3:38pm 
Managed to get it to work on the latest update.
this will also work for all outdated mods.
if you are reading this, go into the mod creation options and make a new mod (Same name) - copy the files from this mod (exuding the DynamicLights.dll file)
update and build it!
AlbertIsABannana 15 Sep, 2024 @ 1:39pm 
I'm assuming this mod is dead?
since the last update was 21 Feb, 2022.
Looks cool though!
Blu_wolf_ 21 Jul, 2024 @ 5:23pm 
Update to the latest version pls
pin02 19 Jul, 2024 @ 4:35pm 
will this be updated?
Driftyng 17 Jul, 2024 @ 7:43pm 
Porfavor actualicé, es de los mejores mods de iluminación.
[Cpt] Tissandre 30 May, 2024 @ 8:39am 
not work