tModLoader

tModLoader

Fancy Lighting
556 Comments
Ivanchik 11 hours ago 
@Stupid fυсking rat Faced with the same problem, if you remember what type of mod you have disabled, it can help a lot)
InspectorGadget Oct 31 @ 8:29pm 
an older...8bit...game...
This looks nice but the background gets affected way more than the foreground does, so it makes the background look out of place in comparison
Royal Midnight Oct 30 @ 6:09am 
it's crazy how even an older 8bit game can benefit so much from simple lighting changes.
Наrlу Oct 27 @ 3:41pm 
@Asuka Langley Both mods work together almost perfectly, you just need to edit settings of both mods slightly
Rex  [author] Oct 21 @ 9:59am 
@Asuka Langley The two mods work together. I just tested it.
Asuka Langley Oct 21 @ 5:22am 
does this work with light and shadow mod? or It just better to use this mod?
ondracool7 Oct 20 @ 11:44pm 
so basically makes the game look very cozy
Savage Oct 20 @ 8:03am 
idk what happend but when you updated the mod to v1.0.1 my lags stopped fully i am playing calamity infernum with ultra preset and literally 0 fps drops thanks for fixing smth :d
Doomzy Oct 19 @ 7:58pm 
@Savage - You might have some luck if you turn off Gsync or Variable Refresh Rate in your PC Graphics settings. Also if you are using Calamity: Wrath of the Gods, that mod gives a permanent performance drop and has done so for at least a year now, was never fixed.
Stupid fυсking rat Oct 19 @ 9:32am 
@Rex alr i got it working now, it was conflicting with some random other mod.:steamthumbsup:
Rex  [author] Oct 18 @ 11:59am 
@Stupid fυсking rat I can't reproduce this issue. Are you running any other mods?
Rex  [author] Oct 18 @ 11:59am 
@Savage I'm not noticing any performance differences with recent tML updates. Are you still having this issue? Also, unfortunately full HDR rendering is required to implement a real bloom effect instead of just faking/approximating it because full HDR rendering increases the maximum brightness of a pixel during internal rendering stages. For example, without full HDR rendering, a white sheet of paper and a light bulb would be rendered with the same brightness internally, and bloom would affect both objects equally, which is incorrect. With full HDR rendering, we can now differentiate between the brightness of the sheet of paper and the light bulb with the light bulb being much brighter, and bloom would affect the light bulb more, as we would expect.
Stupid fυсking rat Oct 18 @ 7:04am 
basic hdr rendering and full hdr rendering remove the background. not sure if it's my pc that's ♥♥♥♥♥♥♥ or a problem with the mod
Petrichor Oct 16 @ 9:09pm 
If your screen turns all white when using the ultra settings: for some reason if you use the either of the HDR rendering options while having smooth lighting enabled, the screen will just turn completely white. So you can put the preset on ultra then either disable smooth lighting, or HDR rendering, and the game won't turn white.
Savage Oct 12 @ 10:11am 
how to fix insane lag spikes? previously i was playing with ultra preset and calamity infernum with stable 60 fps but then after some updates my game drops to 45 fps all the time with ultra preset without calamity, thorium, fargo souls and other huge content mods and could you add bloom on other render modes? i think that is because of the full hdr mode it takes alot of my fps when im fighting a boss but when i switch to basic full hdr mode it says more than 120 fps i tried turning off bloom but it only gave me 5 more fps
nice :steamthumbsup:
Oct 4 @ 12:46am 
1/8 FPS it cost
Uriel Oct 1 @ 1:29pm 
its lookin good:steamthumbsup:
Mr. Yums Sep 30 @ 2:42am 
Significantly more laggy than other lighting mods, but has a few neat features i wouldve liked in other lighting mods
Chad Sky Sep 29 @ 10:19am 
is anyone having huge freeze when time pass with the sky lighting options turned on?
Fluffy Moff Sep 27 @ 4:48am 
It appears that this mod has broken, in a very strange way. When you go deep enough, the borders of the window start showing the background instead of black for the blocks, and it doesn't show the level/biome background, it shows the base gradient background for time of day. Disabling and then re-enabling the mod also made it so the entire game crashed and it gave me a crash log after
Lool & Saturlo Sep 26 @ 3:16pm 
for anyone having issues with a black or white screen : disable wrath of the meachines , its buggy and conflicts with other mods including this one and infernum.
RequiemTA Sep 25 @ 3:27pm 
worked the first time i used it and was amazing, after that i think there was an update or something and it stopped working, and changing the quality settings either made everything pure white, or disappear
dustii_ Sep 24 @ 10:22pm 
terrible
Rex® Sep 23 @ 8:50am 
buena luz
Наrlу Sep 22 @ 6:17am 
I prefer to remove smooth shading and keep pixelated original look with this mod. Combination of vanilla pixelated lighting and shading make image more depth in look (smooth makes all flat, sadly). And with more enchanced lightning system it makes perfect picture. Adding light & shadows, realistic sky (realistic clouds turned off) and atmospheric torches, makes image just perfect.
RA3236 Sep 20 @ 11:42pm 
@Shringe_ that appears to make the problem worse. I don't know why it would make it better because Vulkan usually doesn't have an exponential speedup of that kind, especially on proprietary NVIDIA drivers.
Shringe_ Sep 20 @ 7:07pm 
@RA3236 Terraria on Linux uses OpenGL by default, which is very slow. Try adding the launch option /gldevice:Vulkan to increase your fps and gpu utilization.
Rex  [author] Sep 19 @ 11:34pm 
The last time I tried, I found that FNA didn’t support it.
Olly Sep 19 @ 7:10pm 
can HDR rendering be made to ouput to true HDR when using a HDR compatible monitor?
гренки Sep 11 @ 6:38pm 
Thanks u bro for that cool mod
Rex  [author] Sep 9 @ 2:24pm 
Alright. My Discord username is @username_of_rex.
Confused Sep 9 @ 7:52am 
Hey Rex! I have dug through a lot of the code already, and I found a few spots / things I'd like to mess around with, but wanted to bounce some ideas off you.

Could you add me on steam or discord?

Would be easier to go back and forth about code there haha
ubimauri Sep 8 @ 2:28pm 
thank you
Rex  [author] Sep 8 @ 10:22am 
@ubimauri I tried once, but it didn’t work. I don’t think FNA supports HDR output, though I read somewhere that they’re working on adding it (haven’t checked recently though).
Rex  [author] Sep 8 @ 10:21am 
@RA3236 Yeah unfortunately Terraria’s rendering code is quite CPU bound.
ubimauri Sep 8 @ 3:41am 
Can you make it so the HDR rendering doesn't get tone mapped? I have an HDR monitor
Contrast08 Sep 7 @ 10:35pm 
lowest settings makes my game stutter really badly, and i dont think i have any conflicting mods
Meruhl Odai Sep 7 @ 9:14pm 
Those who have this mod lagging on good hardware, check if you have Calamity Wrath of the Gods in your mod list. This mod is laggy crap, by disabling it I got a boost from ~35 fps to stable 60 on the ultra preset.
RA3236 Sep 6 @ 10:24pm 
Hi, I have a Ryzen 5 3600 and a GTX 1660 SUPER on an Arch Linux system. I've noticed that my GPU utilisation is always <40% yet I have around 120FPS with this mod installed on a 165Hz display (using the High FPS Support mod as well), suggesting a CPU bottleneck. Using Feral gamemode boosts this to around 155FPS. Increasing the quality preset from Low lowers FPS but does not improve GPU utilisation, with noticeable stuttering.

Is this a limitation of the mod/game engine? I'm already using a 1920x1080p display.
Rex  [author] Sep 4 @ 10:26am 
@Confused Thank you! If you'd like, take a look at the GitHub repo: https://github.com/RandomComputerUser/FancyLighting . I will warn that the code isn't documented and is not the best organized.
Rex  [author] Sep 4 @ 10:25am 
@Loksi Yes, there are no issues if the Fancy Atmosphere setting and the Realistic Sky mod are both enabled. However, I wouldn't necessarily recommend doing that, since they both do some similar things.
Loksi Sep 4 @ 5:20am 
Does the Fancy Atmosphere setting work with realistic sky mod? would it be bad to have both enabled or should i choose
darwinxd Sep 3 @ 10:33pm 
Im not sure what happened but... The problem is now fixed ig?
Anyways
Good mod overall
20/10
I recommend
darwinxd Sep 3 @ 9:35pm 
I also thought at first that it was something like that
But i tried disabling fancy atmosphere and all my other mods, however the problem is still there
Seems like the problem is on HDR rendering and full HDR rendering, both of these configurations break the game completely

I've used fancy lightning since it was recently added to the workshop, is one of my favorite mods when it comes to making the game prettier than ever
I'd appreciate if you found a way to fix this issue

(And i also noticed im not the only one reporting this glitch about the HDR rendering)
Confused Sep 3 @ 8:41am 
Hey - Love the mod, it looks great!

Id like to help a bit with the development if there is any room for me to do so, I have noticed a few areas that could benefit from some optimization and id like to better understand the games lighting a bit better (even if just to use locally, just like having something to play with)
Rex  [author] Sep 3 @ 6:59am 
Maybe an issue with mod compatibility. Does this still happen if you disable Fancy Atmosphere in the config?
darwinxd Sep 3 @ 1:47am 
What happened after the last update?
Now when activating HDR rendering i can only see the background
And when activating full HDR rendering my screen turns black

Is there a fix?
Rex  [author] Sep 2 @ 9:09am 
If you're asking about how full HDR rendering compares to basic HDR rendering, there is a performance different, but it's not as extreme. On my laptop, I get around 60 FPS on the high preset and 50 FPS on the ultra preset.