Mods / Volumetric Shading Continued

Category:
Author: Novocain
Side: Client
Created: Feb 23rd at 7:13 AM
Last modified: Mar 1st at 6:43 AM
Downloads: 1623
Follow Unfollow 49

Please show some love to miclo, the original author.
https://mods.vintagestory.at/show/mod/24

A temporary, true to the original, updated version of Volumetric Shading.

Original Description:

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
v0.6.6 1077 Mar 1st at 6:43 AM Show VolumetricShadingContinued.zip
v0.6.5 167 Feb 26th at 9:27 AM Show VolumetricShadingContinued.zip
v0.6.4 114 Feb 25th at 8:06 AM Show VolumetricShadingContinued.zip
v0.6.3 175 Feb 23rd at 9:44 AM Show VolumetricShadingContinued.zip
v0.6.2 87 Feb 23rd at 7:32 AM Show VolumetricShadingContinued.zip

11 Comments (oldest first | newest first)

Adin, Jun 20th at 11:25 AM

Getting this error in Linux:

13:07:39 [Client Error] [volumetricshadingcontinued] An exception was thrown when trying to start the mod:
HarmonyLib.HarmonyException: IL Compile Error ---> System.FormatException: Method System.Void Vintagestory.Client.NoObf.SystemRenderShadowMap::OnRenderShadowNear(System.Single dt) cannot be patc
hed. Reason: Invalid IL code in (wrapper dynamic-method) Vintagestory.Client.NoObf.SystemRenderShadowMap:Vintagestory.Client.NoObf.SystemRenderShadowMap.OnRenderShadowNear_Patch0 (Vintagestory.C
lient.NoObf.SystemRenderShadowMap,single): IL_0100: ret                                                                                                                                           


 at HarmonyLib.Memory.DetourMethodAndPersist (System.Reflection.MethodBase original, System.Reflection.MethodBase replacement) [0x00021] in <88b084d277f344aa9c2904c640976875>:0                 
 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0007b] in <88b084d277f344aa9c2904c640976875>:0                            
  --- End of inner exception stack trace ---                                                                                                                                                     
 at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <88b084d277f344aa9c2904c640976875>:0                         
 at HarmonyLib.PatchClassProcessor.Patch () [0x00084] in <88b084d277f344aa9c2904c640976875>:0                                                                                                    
 at HarmonyLib.Harmony.b__10_0 (System.Type type) [0x00007] in <88b084d277f344aa9c2904c640976875>:0                                                                                    
 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <88b084d277f344aa9c2904c640976875>:0                    
 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <88b084d277f344aa9c2904c640976875>:0                                                                          
 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <88b084d277f344aa9c2904c640976875>:0                                                                                                             
 at VolumetricShading.VolumetricShadingMod.PatchGame () [0x00030] in <2ea2aa2307ca4bc0b8be977ce282930c>:0                                                                                        
 at VolumetricShading.VolumetricShadingMod.StartClientSide (Vintagestory.API.Client.ICoreClientAPI api) [0x00000] in <2ea2aa2307ca4bc0b8be977ce282930c>:0                                        
 at Vintagestory.Common.ModLoader.TryStartSystem (Vintagestory.API.Common.Mod mod, Vintagestory.API.Common.ModSystem system, Vintagestory.API.Common.ICoreAPI api, Vintagestory.Common.ModEventPh
ase phase) [0x00024] in <8316c93e98ed421da4237893dc4beacf>:0                                                                                                                                      
13:07:39 [Client Error] Failed to start system VolumetricShading.VolumetricShadingMod

Shion, Jun 15th at 4:38 AM

Just wondering if this mod will become obsolete with 1.17 update.

Pengwin, May 4th at 7:30 PM

It would be great to have refractions for water, but not for glass. Can those be different options, so I can disable glass refractions?

Why? -> Big windows, like cottage windows, look really weird. The refraction is just too strong. It looks like the glazier was drunk on the job....and stoned...

YouariE, Feb 26th at 9:39 PM

tank you thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks! 

YourCreator, Feb 25th at 4:03 PM

Мем: &quot;OH MY&quot; - Все шаблоны - Meme-arsenal.com

Novocain, Feb 25th at 8:36 AM

I believe it may be due to the incorrect UVS of the crystals

Shion, Feb 25th at 12:15 AM

This mod doesn't seem to like Ore Crystals mod (https://mods.vintagestory.at/show/mod/73) as it makes underground crystals black based on the distance from the camera.

Rayle, Feb 24th at 5:49 AM

Thank you soooooo much for updating this! It's incredible how much of a difference it makes. The game looks even more beautiful with it :D

Nicodemus, Feb 23rd at 5:42 PM

Oh man... I was so waiting for that ! I didn't even try to add it but first I need to thank you a lot !!
<3

Novocain, Feb 23rd at 8:42 AM

Must be a weird linux issue with finding the right line to patch regex.

Not sure how to fix.

Alice196498, Feb 23rd at 8:23 AM

On Linux, (Kubuntu 21.10, KDE Plaſma verſion 4.24.1, with a Nvidia 2080 Ti ; proprietary driver, verſion 5.10.47.03), my game craſhes on ſtartup with the following error log : 

Game Version: v1.16.4-rc.3 (Unstable)
Loaded Mods: volumetricshadingcontinued@0.6.2, game@1.16.4-rc.3, creative@1.16.4-rc.3, survival@1.16.4-rc.3
02/23/2022 16:44:44: 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) [0x0002d] in <95e9d2d10b7b46b1b8382a67cbef1a12>:0
at VolumetricShading.Patch.ShaderPatcher.Patch (System.String filename, System.String code, System.Boolean cache) [0x00075] in <95e9d2d10b7b46b1b8382a67cbef1a12>:0
at VolumetricShading.ShaderRegistryPatches.LoadShaderCallsite (Vintagestory.Client.NoObf.ShaderProgram shader, System.String code, Vintagestory.API.Client.EnumShaderType type) [0x0004d] in <95e9d2d10b7b46b1b8382a67cbef1a12>:0
at (wrapper dynamic-method) Vintagestory.Client.NoObf.ShaderRegistry.Vintagestory.Client.NoObf.ShaderRegistry.LoadShader_Patch1(Vintagestory.Client.NoObf.ShaderProgram,Vintagestory.API.Client.EnumShaderType,System.Collections.Generic.List`1<Vintagestory.API.Common.IAsset>)
at (wrapper dynamic-method) Vintagestory.Client.NoObf.ShaderRegistry.Vintagestory.Client.NoObf.ShaderRegistry.loadRegisteredShaderPrograms_Patch0()
at Vintagestory.Client.NoObf.ShaderRegistry.ReloadShaders () [0x0005e] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.ShaderAPI.ReloadShaders () [0x00000] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.SystemModHandler.OnServerIdentificationReceived () [0x0054d] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.ClientMain.ProcessServerIdentification (_vHBGzImmzojsCBb4Qveu6vbHGjC packet) [0x0009c] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleServerIdent (_vHBGzImmzojsCBb4Qveu6vbHGjC packet) [0x001c6] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.ProcessPacketTask.ProcessPacket (_vHBGzImmzojsCBb4Qveu6vbHGjC packet) [0x00016] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.ProcessPacketTask.Run () [0x00000] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks (System.Single deltaTime) [0x000c2] in <7796917a88364ff8b447c720a5707bae>:0
at _mJMy6XcJZufJQ0Db7dCeHp2mqgk._UdTw7PAfeW6JlyojTStJT0TJGkB (System.Single ) [0x00400] in <7796917a88364ff8b447c720a5707bae>:0
at _tFdr1uT5zfyUkzNSkA3ToX5ljzA._W214eNLFnAzGPzBQUUjctRZn5C (System.Single ) [0x001c0] in <7796917a88364ff8b447c720a5707bae>:0
at _tFdr1uT5zfyUkzNSkA3ToX5ljzA._G5t0g6xoyNnwYQD1Na16N3BI01d (System.Single ) [0x000cc] in <7796917a88364ff8b447c720a5707bae>:0
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame (System.Object sender, OpenTK.FrameEventArgs e) [0x00141] in <7796917a88364ff8b447c720a5707bae>:0
at (wrapper delegate-invoke) System.EventHandler`1[OpenTK.FrameEventArgs].invoke_void_object_TEventArgs(object,OpenTK.FrameEventArgs)
at OpenTK.GameWindow.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
at OpenTK.GameWindow.OnRenderFrameInternal (OpenTK.FrameEventArgs e) [0x00010] in <a4886e33f9fc416195d24950e7205b94>:0
at OpenTK.GameWindow.RaiseRenderFrame (System.Double elapsed, System.Double& timestamp) [0x0000c] in <a4886e33f9fc416195d24950e7205b94>:0
at OpenTK.GameWindow.DispatchRenderFrame () [0x00038] in <a4886e33f9fc416195d24950e7205b94>:0
at OpenTK.GameWindow.Run (System.Double updates_per_second, System.Double frames_per_second) [0x00104] in <a4886e33f9fc416195d24950e7205b94>:0
at OpenTK.GameWindow.Run () [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
at _NxLBujraSWHVxPxGtdSuefM8ihcA._trQCfDx6Bhpsp3kfLOJy9Wami1D (_Fcxbj1ZPAR3EYINauNuPOcAF6oib , System.String[] ) [0x003dc] in <ac822834eb954a3a9ea0ae1031b3c534>:0
at _NxLBujraSWHVxPxGtdSuefM8ihcA+_CLgA7E6adiPaPWpohuJCiHF8xoQA._5CMwZ6AdepgQLnlaMwKRuz2Ykdh () [0x00000] in <ac822834eb954a3a9ea0ae1031b3c534>:0
at _a7XtyCAKDX5vZfnNApsGQEUBZQT._trQCfDx6Bhpsp3kfLOJy9Wami1D (System.Threading.ThreadStart ) [0x00007] in <7796917a88364ff8b447c720a5707bae>:0
-------------------------------

delete edit