Mods / Night Light

Tags: #Cosmetics #Graphics #QoL #Tweak #Utility
Author: mathgeniuszach
Side: Client
Created: Jun 16th 2023 at 6:40 AM
Last modified: Nov 16th 2023 at 1:10 AM
Downloads: 8379
Follow Unfollow 101

Latest release (for Vintage Story 1.18.0-pre.0, 1.18.15 - 1.19.0-pre.0, 1.19.8 - 1.20.0-pre.0 and 1.20.10 - 1.20.11-rc.1, outdated):
NightLight-1.3.6.zip  1-click install


Brightens up a little bit of everything in the scene (client-side only), on the surface and in caves.

Raises the base brightness by 10% of everything, preventing things from appearing pitch black.

The percentage can be configured via the ModConfig or ingame with the .light set [value] command. 10% is the default, but 0% is vanilla, while 100% is full brightness.

Got a problem with this mod or need to see it updated? Let me know on my Discord! Support me on Patreon or Ko-Fi.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.3.6 nightlight
1.18.15 - 1.19.0-pre.0 1.19.8 - 1.20.0-pre.0 1.20.10 - 1.20.11-rc.1
4666 Nov 16th 2023 at 1:10 AM NightLight-1.3.6.zip 1-click install

Made Night Light patch the shader include file instead of replacing it; this should make it work in all future versions, until those lines in the shader itself are changed.

1.3.5 nightlight
1.18.7 - 1.18.15
502 Nov 2nd 2023 at 7:04 AM NightLight-1.3.5.zip 1-click install

Fixed a locale-specific bug

1.3.4 nightlight
1.18.0-pre.0 - 1.18.13
497 Sep 27th 2023 at 6:33 AM NightLight-1.3.4.zip 1-click install

Fix NightLight.dll zip

1.3.3 nightlight
1.18.7 - 1.18.13
337 Sep 24th 2023 at 6:09 AM NightLight-1.3.3.zip 1-click install

Add support for percentages in brightness command.

Don't worry about the supported game version. If it stops working in a later release let me know.

1.3.1 nightlight 693 Jul 16th 2023 at 12:01 AM NightLight1.3.1.zip 1-click install

Fixed a bug with accidentally unpatching other mods.

1.3.0 nightlight 389 Jul 13th 2023 at 2:18 AM Empty NightLight1.3.0.zip 1-click install
1.2.0 nightlight 532 Jun 21st 2023 at 11:06 PM Empty NightLight1.2.zip 1-click install
1.1.0 nightlight 433 Jun 16th 2023 at 11:33 AM Empty NightLight1.1.zip 1-click install
1.0.0 nightlight 330 Jun 16th 2023 at 6:40 AM Empty NightLight.zip 1-click install

24 Comments (oldest first | newest first)

💬 NovaRainbow, Oct 24th at 9:25 PM

THANK YOU SO MUCH FOR THIS MOD!! i have poor darkvision, and i can't see Anything at night without a torch in vanilla, even with the gamma cranked up to max. i wish more games accomodated for people who just don't see well in the dark.

💬 SD1M, Sep 18th at 10:38 AM

AlexTrified I can confirm that /weather set clearsky works in making caves easy to navigate and not black voids of death.

💬 AlexTrified, Aug 22nd at 11:05 AM (modified Aug 22nd at 11:10 AM)

Having a weird issue, maybe unrelated to the mod but the mod definitely helped me notice, either I pressed something or its how the game is, but underground the lighting just continues to go darker and darker even with light set at 100 with this mod.

 

I dont think it was like this when i first tested it.

 

Any thoughts?

 

(Edit) unfortunately even though i attempted this multiple times before commenting here, i just tried clearsky again and it worked, so false alarm, though i feel like this being here would be good info in case someone is attempting to test around underground and cant find out why its so dark down there even with light at max.

💬 MRGOOSE, Jun 22nd at 8:19 PM

works perfectly fine as of 1.20.12 and probably will work forever

💬 mathgeniuszach , May 12th at 10:44 PM

LiothTheBrave it hasn't stopped working - and in the future it shouldn't stop working unless the developers edit two specific lines in the shader file or change very specific function names. I updated the version numbers to reflect this for now. Don't feel afraid to try a mod anyway even if it says outdated!

💬 LiothTheBrave, Jan 28th at 10:48 AM

Please update.

💬 Paddington03, Dec 31st 2024 at 10:51 PM

using on 1.20.0-rc.6 and it works fine

💬 Acsiel, Nov 3rd 2024 at 1:37 AM

Thanks for the mod! Now the game is actualy playable at night.

💬 GVLT, Jun 14th 2024 at 7:34 PM

Hi, how can I remove this mod completely? I've uninstalled it, but it seems to be still working

💬 DUCATISLO, May 26th 2024 at 4:41 PM

gg

💬 Ailith, Dec 23rd 2023 at 10:53 AM

still good 1.19.0rc-1, great mod thanks n.n.

💬 OmegaHaxors, Nov 3rd 2023 at 12:04 PM

Horror games: Set the brightness so that the logo is barely visible [extremely blown up brightness] No, I don't think I will

💬 mathgeniuszach , Nov 2nd 2023 at 7:05 AM

KometFox this issue should be fixed in 1.3.5. Let me know if you have any other issues.

💬 KometFox, Oct 31st 2023 at 2:37 PM

I'm on Xubuntu 22.04 and I'm getting a OpenGL error when running this mod.

 

31.10.2023 15:39:36 [Client Error] Shader compile error in instanced.vsh 0(256) : error C1115: unable to find compatible overloaded function "mix(vec3, vec3, int, int)"
0(257) : error C1115: unable to find compatible overloaded function "mix(vec3, vec3, int, int)"

31.10.2023 15:39:37 [Client Error] after final compo - OpenGL threw an error: InvalidOperationEnable Gl Debug Mode in the settings or clientsettings.json to track this error
31.10.2023 15:39:37 [Client Error] after blit - OpenGL threw an error: InvalidOperationEnable Gl Debug Mode in the settings or clientsettings.json to track this error

💬 mathgeniuszach , Oct 7th 2023 at 2:01 AM

SalK Yes! Night Light is a client side only mod, so every player has a different percentage value.

💬 SalK, Sep 30th 2023 at 6:04 PM

Is it possible to have differnt value for different players when playing multiplayer?

💬 mathgeniuszach , Sep 27th 2023 at 6:37 AM

Grimmothy Fixed this in 1.3.4. Thank you for reporting!

💬 Grimmothy, Sep 25th 2023 at 12:55 PM

I see this in my server-main.txt while loading Nightlight

25.9.2023 08:47:12 [Error] [nightlight] An exception was thrown when trying to load assembly:
System.Exception: Found multiple .dll files with ModSystems and/or ModInfo attributes
at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\API\ModContainer.cs:line 459

Been using the mod for a while now without it being responsible for anything outright exploding, I think, but this still probably shouldn't be there right?

Edit: Checked the Night Light mod zip and it looks like the problem was just that there were two sets of files. One named NightLight the other named Night Light. I deleted the former since the later matched the name in the mod info and everything seems to be resolved.

💬 Saskia_, Aug 1st 2023 at 7:31 PM

It's completely unrelated. That mod has crashing issues on its own.

💬 mathgeniuszach , Jul 13th 2023 at 2:43 AM

QuakingDoom this issue seems to be unrelated to this mod. Nevertheless, I uploaded a version of this mod which should be more friendly to various shader mods, as it only changes the lighting shader include file.

💬 QuakingDoom, Jul 2nd 2023 at 3:41 PM

Unfortunately, this causes the game to crash when used alongside the new updated volumetric lighting mod.

7/2/2023 11:40:43 AM: Critical error occurred in the following mod: volumetricshadingupdated@0.7.2
Involved Harmony IDs: com.xxmicloxx.vsvolumetricshading
System.InvalidOperationException: Could not execute non-optional patch: Regex (^|[\.,+\-*/;{}[\]()=:|^&?#\s])vec4\s*?\(\s*?glowLevel\s*?\+\s*?glow\s*?,\s*?0\s*?,\s*?0\s*?,\s*?color\s*?\.\s*?a\s*?\)\s*?;($|[\.,+\-*/;{}[\]()=:|^&?#\s]) not matched

 

💬 mathgeniuszach , Jun 22nd 2023 at 8:01 PM

ThreeHeadedDingo it's just a visual change, as it is purely client side.

💬 ThreeHeadedDingo, Jun 22nd 2023 at 8:55 AM

Does this literally change the minimum light value of blocks, or is it just a visual change?

💬 Reverhaus, Jun 21st 2023 at 2:37 PM

This will be a must have in my mod folder! :D

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом