Mods / Volumetric Shading

Category: #Graphics
Author: miclo
Side: Client
Created: Feb 14th 2021 at 8:57 PM
Last modified: Dec 15th 2022 at 6:07 PM
Downloads: 10014
Follow Unfollow 81

Latest file for v1.17.9:
volumetricshading_v0.7.0.zip 1-click install


Adds volumetric lighting, screen space reflections, and multiple other graphics tweaks.

Open ingame configuration with Ctrl-C.

Always use a version of this mod that matches your game version EXACTLY. Ignoring this will nearly always lead to your game crashing.
The mod should now be mostly resistant to game updates. Still, if your game is crashing, check if you can download an update.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v0.7.0 2879 Dec 15th 2022 at 6:07 PM Show volumetricshading_v0.7.0.zip Install now
v0.6.1 1767 Nov 10th 2021 at 1:04 PM Show volumetricshading_v0.6.1.zip Install now
v0.6.0 1373 Jul 30th 2021 at 9:33 AM Show volumetricshading_v0.6.0.zip Install now
v0.5.1 1389 Mar 28th 2021 at 4:09 PM Show volumetricshading_v0.5.1.zip Install now
v0.5.0 838 Mar 14th 2021 at 6:20 PM Show volumetricshading_v0.5.0.zip Install now
v0.4.0 604 Mar 8th 2021 at 2:53 PM Show volumetricshading_v0.4.0.zip Install now
v0.3.3-vs1.14.8 504 Feb 15th 2021 at 11:14 AM Show volumetricshading_v0.3.3-vs1.14.8.zip Install now
v0.3.3-vs1.14.7 559 Feb 15th 2021 at 11:43 AM Show volumetricshading_v0.3.3-vs1.14.7.zip Install now

50 Comments (oldest first | newest first)

💬 AlphaRay, Jan 25th at 12:38 PM

It's not working with 1.19..just installed.  Game crash:
25.01.2024 13:35:53: Critical error occurred in the following mod: volumetricshadingupdated@0.7.2
System.InvalidOperationException: Multiple regex matches, but only one wanted: (^|[\.,+\-*/;{}[\]()=:|^&?#\s])\#\s*?if\s+?SSAOLEVEL\s+?>\s+?0\s+?outGPosition($|[\.,+\-*/;{}[\]()=:|^&?#\s])

💬 iodide, Dec 3rd 2023 at 6:50 PM

Can anyone confirm if this works using v.1.19pre?

💬 krami, Jun 28th 2023 at 3:38 PM

I've fixed the crash that occurs on loading a world and uploaded an updated version.

💬 MrGR0, May 7th 2023 at 1:07 PM

I would love to have this mod in my colection on 1.18.1, I tried updating myself but I am dumb and a newby programmer, so I couldn't. Love to see an update miclo

💬 JimmyMac, Mar 13th 2023 at 5:13 PM

Love this mod! - Best water shader ever - It works great in 1.17.11 - any chance it will be updated to work with 1.17.11 net 7? Looks like its going to be the new latest stable version soon

💬 artemax44, Mar 10th 2023 at 12:12 PM

miclo

can you make it work for 1.18? I would love to have it back in my mod collection.
💬 AzuliBluespots, Feb 13th 2023 at 2:32 PM

I also had a crash with this, and got full amd hardware. Is it still working in VS 1.17.11?
(I'm also on linux if that makes any difference -_-)

💬 Noot50, Jan 21st 2023 at 2:33 AM

Thanks for updating, although I'm currently on 1.17.10 steam deck and seem to be experiencing crashing on the 1.17.9 version, is this a version incompatibility? It has the same error that Tels had at one point, so it might be incompatible for 1.17.10. If not it must be an AMD issue

💬 YouariE, Feb 4th 2022 at 9:00 PM

@Rahjital
Thans for trying it! I was hoping, that was only a little problem. but also I m not a code understanding :) im a Videocreator :) and im falling in love whif that shader ;D i hope that this will shine again. 
also, im wondering, wy no other shiny Shader exsist here? maby its a good idee, to ty fom skratch again? ok, i have no idee who many work it is. and i think, maby ist bedder to update it somehow. I whish you so match that this update will get finished. your shader is grade! 

💬 YourCreator, Feb 3rd 2022 at 5:04 PM

Press + for vote update

💬 NarielV, Feb 2nd 2022 at 1:11 AM

Nice, I hope to see this updated eventually.

💬 TeacupAngel, Jan 28th 2022 at 1:53 PM

Not that easy to update, unfortunately. I tried it myself and got rid of the simple to fix errors, but there were some much more difficult ones as well (a crash in Harmony transpilers, for other code modders).

💬 YouariE, Jan 24th 2022 at 9:40 AM

Please update the beautiful and only shader of this game. it's also the only shader that exists here. :D please please please :D it says it's an easy fix ;D
("That's a mod that hasn't been updated since a earlier version of 1.15. It's a simple fix. Wherever you see Action or Action within the mod, the file needs to reference the System namespace."- Apache on discord 12.1.2022)
I love thatShader so mutch! please bring it back to live! :D

and how would it be possible that the screenspace reflection is not cut off at the edge of the screen? my idea would be to simply add the missing reflection mirrored 10% further. It would be fake, but it would probably be less noticeable. or that the reflection at the edge fills in the gaps by stretching. (only at the edge of the screen) But more importantly, bring the shader back to life please :D
💬 Lich, Jan 8th 2022 at 5:28 PM

confirmed Not working for 1.16 :p

💬 XMT, Dec 23rd 2021 at 9:10 AM

Just an update. Linux working fine on 1.15.10
Not tested on 1.16

2X Xeon2670v3 ; 32GBRAM ; Rx570 ; Kernal-5.11.0-41-generic ; KDE Plasma 5.22.5 ; FerenOS 2021.10

💬 TBNRregs, Nov 30th 2021 at 5:28 PM

Feels like the grass reflection isn't mirrored after latest update image

💬 Tels, Nov 15th 2021 at 12:21 AM

Still getting the following error under Linux: :(

Version: v1.15.9 (Stable)11/15/2021 12:45:22 AM: Critical error occurred
System.InvalidOperationException: Could not execute non-optional patch: Regex (^|[\.,+\-*/;{}[\]()=:|^&?#\s])outGlow\s*?=\s*?vec4($|[\.,+\-*/;{}[\]()=:|^&?#\s]) not m
atched
 at VolumetricShading.Patch.RegexPatch.Patch (System.String filename, System.String code) [0x0003c] in <1e39bac5f7e348bfbf993974df58612b>:0
 at VolumetricShading.Patch.ShaderPatcher.Patch (System.String filename, System.String code, System.Boolean cache) [0x00085] in <1e39bac5f7e348bfbf993974df58612b>:0
 at VolumetricShading.ShaderRegistryPatches.LoadShaderCallsite (Vintagestory.Client.NoObf.ShaderProgram shader, System.String code, System.Collections.Generic.List`1
[T] includes, Vintagestory.API.Client.EnumShaderType type) [0x00058] in <1e39bac5f7e348bfbf993974df58612b>:0

💬 ESPE, Nov 12th 2021 at 6:22 PM

Can you update this mod to 1.15.7?

💬 MKJwhoa95, Nov 10th 2021 at 8:32 PM

Yes the update seems to have solved the SSR issue. Thank you!

Notes: I first tried running the game with the mod update on 1.15.7 (the version I've been running since most of the mods I use are updated for it) but the game crashed upon loading my save. I believe I got a similar error to XMT, though I'm on Windows 10. Updating to 1.15.9 solved that. Also in the change log I noticed that you think the SSR bug might be an AMD specific. The GPU I'm running is a Radeon RX 5600 XT so that very well may be the case.

Anyway, thanks for the speedy fix. My base is currently next to a large lake and the view at sunset is incredible with SSR enabled. :)

💬 Zadak, Nov 10th 2021 at 4:37 PM

Fixed for me now :)

💬 micloAuthor, Nov 10th 2021 at 1:08 PM

Zadak, MKJwhoa95 please retry with the newest version as it may fix your bugs (I sadly cannot really test that for myself as it doesn't happen on my pc).

XMT the newest version now supports Vintage Story 1.15.9

💬 XMT, Nov 8th 2021 at 2:22 AM

Looks like V:1.15.9 has caused Volumetric Lighting to crash in Linux.
As soon as the game world starts loading - the application hangs. The exit point is where the mod has begun to load(test itself?). To close the application - mono needs a kill signal. 

`10:14:05 [Client Notification] Loaded Shaderprogramm for render pass multitexturetest.  
10:14:05 [Client Fatal] Version: v1.15.9 (Stable)8/11/2021 10:14:05 AM: Critical error occurred
System.InvalidOperationException: Could not execute non-optional patch: Regex (^|[\.,+\-*/;{}[\]()=:|^&?#\s])texColor\s*?\.\s*?a\s*?\+\s*?=\s*?max\s*?\(\s*?0\s*?,\s*?diff\s*?/\s*?16\s*?\+\s*?noise\s*?/\s*?4\s*?\)\s*?;($|[\.,+\-*/;{}[\]()=:|^&?#\s]) not matched            
 at VolumetricShading.Patch.RegexPatch.Patch (System.String filename, System.String code) [0x0003c] in <2fe7e68fc0604b7abbcb70ec5cd0ad23>:0                                                                                                                                    
 at VolumetricShading.Patch.ShaderPatcher.Patch (System.String filename, System.String code, System.Boolean cache) [0x00085] in <2fe7e68fc0604b7abbcb70ec5cd0ad23>:0                                                                                                           
 at VolumetricShading.ShaderRegistryPatches.LoadShaderCallsite (Vintagestory.Client.NoObf.ShaderProgram shader, System.String code, System.Collections.Generic.List`1[T] includes, Vintagestory.API.Client.EnumShaderType type) [0x00058] in <2fe7e68fc0604b7abbcb70ec5cd0ad23
>:0
`

`10:14:05 [Client Notification] Exiting game now. Server running=True. Exit reason: Game crashed
Unknown command line option: '--arch=32' 
`

Gorgeous is the disabled until fix is the happen.
Much trouble, many sad, very frustrate. 😑 Fingers crossed it's a minor issue.

💬 MKJwhoa95, Nov 2nd 2021 at 5:40 PM

I have the same issue as Zadak. Plus the previews in the knapping menu are messed up with SSR enabled. Currently using 1.15.7 (stable) with mods. I hope this gets fixed because I love this mod. It makes my game look so beautiful.

💬 Zadak, Oct 23rd 2021 at 1:33 PM

This mod is great, however Screen Space Reflections makes textures of the items in your hand low-res? As well as some items will have glitches in their previews (like Onions)

https://imgur.com/a/1j5JoY6

 

💬 McJty, Aug 2nd 2021 at 2:50 PM

I also have the same crash as Tels has on linux

💬 FlandreScarletUN, Aug 1st 2021 at 8:21 PM

Hello, sorry for bothering but i want to ask if you could add compatibility with mod fancy sky 

💬 Tels, Aug 1st 2021 at 3:43 PM

With 1.15.3 and volumetricshading 0.6.0 on Linux I get this error:

Version: v1.15.3 (Stable)8/1/2021 5:39:24 PM: Critical error occurred
System.InvalidOperationException: Could not execute non-optional patch: Regex (^|[\.,+\-*/;{}[\]()=:|^&?#\s])outGlow\s*?=\s*?vec4($|[\.,+\-*/;{}[\]()=:|^&?#\s
]) not matched                                                                                                                                                 
 at VolumetricShading.Patch.RegexPatch.Patch (System.String filename, System.String code) [0x0003c] in <2fe7e68fc0604b7abbcb70ec5cd0ad23>:0                   
 at VolumetricShading.Patch.ShaderPatcher.Patch (System.String filename, System.String code, System.Boolean cache) [0x00085] in <2fe7e68fc0604b7abbcb70ec5cd0
ad23>:0  

💬 Maamessu, Jul 31st 2021 at 8:20 PM

Playing version 1.15.2 VS and have downloaded and installed v1.6.0 of this mod, however whenever the game gets to the end of the load sequence, "Return again", it hangs and crashes, forcing me to terminate the game via the application manager. Any thoughts?

💬 Xorberax, Jul 31st 2021 at 6:43 AM

Thank you so much for updating this amazing mod for 1.15!

💬 micloAuthor, Jul 30th 2021 at 9:33 AM

The new version of the mod should now work for Vintage Story 1.15.

💬 Rythillian, Jul 19th 2021 at 2:40 AM

No longer works in version 1.15.1 as of writing this. Would love to see this updated and fixed!

💬 Iisunki, Jul 10th 2021 at 9:19 AM

can u update this to 1.15 pls?

💬 Tels, Jun 20th 2021 at 10:31 PM

0.5.1 does not work for me, crashes (please see below), 0.3.3-vs1.14.8 works fine:

-------------------
Version: v1.14.8 (Stable)6/21/2021 12:25:57 AM: Critical error occurred                                                                                       
System.InvalidOperationException: Could not execute non-optional patch: Regex (^|[\.,+\-*/;{}[\]()=:|^&?#\s])outGlow\s*?=\s*?vec4($|[\.,+\-*/;{}[\]()=:|^&?#\s
]) not matched                                                                                                                                                
 at VolumetricShading.Patch.RegexPatch.Patch (System.String filename, System.String code) [0x0003c] in <bb00f1fce11740238355590c1039b606>:0                  
 at VolumetricShading.Patch.ShaderPatcher.Patch (System.String filename, System.String code, System.Boolean cache) [0x00085] in <bb00f1fce11740238355590c1039
b606>:0
 at VolumetricShading.ShaderRegistryPatches.LoadShaderCallsite (Vintagestory.Client.NoObf.ShaderProgram shader, System.String code, System.Collections.Generi
c.List`1[T] includes, Vintagestory.API.Client.EnumShaderType type) [0x00058] in <bb00f1fce11740238355590c1039b606>:0

--------------------

💬 1618, Apr 5th 2021 at 6:08 PM

Side by side comparison with vanilla would be helpful.

💬 micloAuthor, Mar 28th 2021 at 4:08 PM

@CJHKnight2: I made a small mistake in the cloud shaders which broke them on AMD. v0.5.1 should fix this, please try again with that version.

💬 CJHKnight2, Mar 15th 2021 at 1:03 AM

@miclo The mod now works for me too but I have a question. What happened to the clouds? I don't see them anymore just visibility changes.

💬 Jeb_X, Mar 13th 2021 at 4:45 PM

I just can't get over how good the water looks. Especially when a storm is approaching and the wind causes the water to create ripples or even waves. Together with the shaking trees and the darkening sky, it creates pure emotion in me. I made a comparison screenshot just to give some evidence on how good the game looks with the mod, even with volumetric lighting turned off but unfortunately I can't upload any pictures directly. I wanted to do that because most people will think (as did I, as did l33tmaan apparently) that this is one of those typical reshade mods.

@miclo: It is always good to hear that more optimization is coming!

 

 

💬 micloAuthor, Mar 12th 2021 at 8:46 PM

@Jeb_X Thanks for the performance rundown and the kind words! In the next update, there will be a "deferred lighting" option which should increase performance quite a bit, it should even help with all the other settings turned off!

@l33tmaan Thanks :)

💬 l33tmaan, Mar 12th 2021 at 3:18 PM

I usually think these kinds of mods are a meme, but this is some good stuff. SSR is no joke, all my display cases and barreled liquids look amazing now. 

💬 Jeb_X, Mar 12th 2021 at 1:46 PM

@miclo: Thank you so much for this mod. As someone who is a bit of a graphics fetishist, this was the very first mod I just had to install before I even began playing the game. Valheim showed how important lighting is for immersion and you just shoved VS a bit in that direction. That you can tinker with every setting in-game (!), is incredible, too.

💬 Jeb_X, Mar 12th 2021 at 1:45 PM

Performance cost of this mod:

turning on volumetric lighting: costs 20 fps

turning on screen space reflections: costs 15 - 20 fps.

turning on both: costs 30 fps.

rest of the settings: no performance impact or maybe 1 - 2 fps.

 

Scneario: standing in front of a lake in bright daylight with mountains blocking my sight partially. System is a Ryzen 3600 + RTX 2060 Super, 2x8GB @3200mhz.

Mod turned off: 117 fps

turning on volumetric lighting: 100 fps

turning off volumetric lighting and turning on screen space reflections: 100 fps

turning everything on: 87

 

Tl; Dr:

This is a rather expensive mod of course. However, what you get is a more realistic looking day and incredible sunsets and VASTLY improved water graphics. If you have to sacrifice a setting, I would definitively keep the SSR!

Edit: please not that SSR does not only add reflections but also refractions (the water causes ripples; their intensity depends on the wind) and a couple of other things.

 

 

💬 RemiKami, Mar 9th 2021 at 4:16 PM

@miclo: New version works perfect on my end, brilliant work.

💬 micloAuthor, Mar 6th 2021 at 12:51 PM

@RemiKami, @CJHKnight2: I'll be looking into that, however, the only AMD card I own is in an aging laptop, so I can't guarantee anything. I'll update my comment if I find out what's causing the bug.

Edit: I couldn't reproduce your problem, but I still tried to optimize/fix some of the code that might have caused problems. If you can, please retry with the most recent version of my mod.

💬 RemiKami, Feb 28th 2021 at 3:06 PM

Hi! I am also having the same black screen and white rectangle as @CJHKnight2; AMD Radeon RX 6800 w/ 16GB RAM. Same issue where the objects held in both hands are rendered, no other mods are installed.

💬 CJHKnight2, Feb 26th 2021 at 9:50 PM

Mod does not seem to work for me. I have an AMD Radeon RX 5700 with 8176 MB of GDDR6 1750 mhz RAM. Drivers are up to date acording to the AMD website. I get a black screen with a white rectangle in upper right of screen that shows black block outlines. Object in hand is rendered ok.

💬 Ignitehawk, Feb 20th 2021 at 10:44 PM

@miclo I just downloaded the new version for 1.14.7, and it's working perfectly. It looks beautiful; thanks so much!

Edit - Just dropping back in to sing praises. I didn't think I'd use the volumetric lighting part of the mod, but after turning it on to see what sunset would look like, I was blown away and haven't disabled it since. I'm enjoying the game so much more simply by virtue of how gorgeous it looks now. Amazing work.

💬 micloAuthor, Feb 20th 2021 at 3:31 PM

@Theisgood about 10% for me, but this depends on graphics settings and hardware

@Ignitehawk I'm sorry about that. There was a mistake in the 1.14.7 version I uploaded. Please download the mod again and see if the problem was fixed. Regarding the "fog" you see: this probably means the effect is working properly - it's just set to a very high intensity, causing the fog effect. I'd recommend just turning down the intensity in the options, or modifying the "flatness" value.

@Rythillian it does work for me - if it still isn't working for you, you might have to contact Tyron, since I do not have control over the mod portal.

💬 Rythillian, Feb 20th 2021 at 9:48 AM

The download for 1.14.7 no longer works

💬 Ignitehawk, Feb 20th 2021 at 2:23 AM

I must be doing something wrong, because no matter what I do I can't seem to get screen space reflections (which is all I'm really looking to use) to work. I messed around with the options but I couldn't get those gorgeous water caustics or anything water-related other than a slight transparency change to take effect. Are there certain graphics settings that have to be on or off for the mod to work properly? I have most options enabled, but some are turned down for the sake of hitting a consistent 60 fps.

Edit - Just to provide some more info, I'm on game version 1.14.7, and I did in fact get the appropriate mod version. I also used the Ctrl+C menu as instructed to toggle on the options. Volumetric lighting definitely affects change, in that it makes things everything look... foggy. That might not be working as intended for me, either. Hm.

💬 Theisgood, Feb 20th 2021 at 12:02 AM

How much of a FPS loss would I expect using JUST the volumetric lighting? 

(edit comment delete)