Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem






https://wiki.facepunch.com/gmod/render.GetResolvedFullFrameDepth
The MW base is just cool modern guns. But damn, let them be compatible with the depth buffer and shaders. It's not my concern, no matter how much I'd like it to be. If I were the developer of the weapons base, I would have made a fix.
It's almost 2026, and the MW base can't be used with a depth buffer to create shaders. Although it could be a nice combination.
I just often get messages saying there's a bug with this addon, or with another one. But it's not my bug. These aren't shader library bugs. All addons that don't work with GShader are the addons' problems, not the GShader library's.
Okay I did some troubleshooting and the issue I posted on your CSM addon I now believe is an issue with the GShader Library.
With debug mode on, the "_rt_WPDepth" and "_rt_NormalsTangents" windows will just stop updating and just freeze after a short while and never unfreeze. "_rt_Fog" seems to break also. Whenever this happens the shaders also break.
This was tested with only this, your CSM Shader, and your Volumetric lighting shader as the only addons enabled. It happens on regular branch and x86_64 branch. I tried lowering resolution and it still freezes.
Not sure why this is happening.
[GShader Library] lua/autorun/client/fixes_for_workshop_addons.lua:22: attempt to index a nil value
1. func - lua/autorun/client/fixes_for_workshop_addons.lua:22
2. unknown - lua/includes/modules/hook.lua:267
3. ClientsideModel - [C]:-1
4. unknown - lua/weapons/guitar_zero/cl_init.lua:32
Very optional too, but now theres starting to be some shaders, maybe creating a collection to group them up and include other small dependencies sounds neat? But really i'd see just this Library and the other shaders you've made and or others have developed
Many other of my subscribed addons would also trigger the same kind or error, the provided message is one of them, but some would be longer, but i did note that every single one of them trigger an error at that famous line 22, you should really check it out, please and thanks !
[GShader Library] lua/autorun/client/fixes_for_workshop_addons.lua:22: attempt to index a nil value
1. v - lua/autorun/client/fixes_for_workshop_addons.lua:22
2. unknown - lua/includes/modules/hook.lua:102
1. require - [C]:-1
2. unknown - lua/autorun/client/depthbuffer.lua:64
1. unknown - lua/autorun/client/depthbuffer.lua:64
well not in that way
If i have a MW base weapon with a arc9 weapon in my inventory the C_hands of the arc9 swep will be invisible
idk how this addon causes the problem
I hate being like this.
[GShader Library] lua/autorun/client/velocitybuffer.lua:7: attempt to index global 'shaderlib' (a nil value)
1. v - lua/autorun/client/velocitybuffer.lua:7
2. Run - lua/includes/modules/hook.lua:102
3. unknown - lua/autorun/client/proton_detect.lua:68
any idea how to fix it? thank you!
It was able to grab the render target, but now its own global "shaderlib" is coming up nil. Once again, the affected files were fogmask.lua at line 16, hook.lua at line 313, and oddly enough, proton_detect.lua at line 68, which is funny as I use x64 GMod on Windows 10.
I'll keep checking for potential invisible conflicts, but if there is a possible fix on your end, keep letting me know. Thank you in advance, Mr. Akabenko!
maybe fixed
I'm currently having issues with GShader Library that prevent me from using it or any of its associated mods. Loading into a map greets me with this Lua error:
[GShader Library] lua/autorun/client/fogmask.lua:7: bad argument #8 to 'GetRenderTargetEx' (number expected, got nil)
1. GetRenderTargetEx - [C]:-1
2. unknown - lua/autorun/client/fogmask.lua:7
3. Run - lua/includes/modules/hook.lua:313
4. unknown - lua/autorun/client/proton_detect.lua:68
The GetRenderTargetEx value being nil is odd, and it seems to cause the viewport to break when using mods like the CSM shader someone else made using this library. I thought GWater 2 was to blame for this, as it seems to add additional graphics libraries to enable PhysX Flex water rendering. However, disabling and uninstalling that did nothing to fix it.
Any help would be greatly appreciated!