Garry's Mod

Garry's Mod

GShader Library
457 Comments
^4sonny 43 minutes ago 
makes mwb weapons invisible
VSK.Slimy 11 hours ago 
damn this update ruined mwbase
Adam :D 12 Dec @ 4:06am 
@leonhart48 it did work but it broke my shaders
leonhart48 11 Dec @ 1:17pm 
From what i've seen, the "enable resolvedfullframedepth" option seems to be making MW Base weapons dissapear, disabling this should resolve the issue.
Possiblyshrub 11 Dec @ 5:38am 
My viewmodel dissapear when using MW Base after this update. Bummer
Project-R8 10 Dec @ 6:12pm 
My MW Base weapons disappear from this too...
[SourceBro] 10 Dec @ 12:33pm 
Makes MW Base weapons disappear :(
objir 10 Dec @ 8:13am 
Latest update makes MW weapons c_model invisible.
Baboon13 10 Dec @ 4:54am 
@Evgeny ку, я имею в виду чтобы просто с друзьями поиграть при заходе на сервер у всех были шейдеры как у хоста , я не разбираюсь в модинге :rjumendoka2:
Evgeny Akabenko  [author] 10 Dec @ 4:21am 
@Baboon13 привет. А ты же можешь в клиентских файлах вызывать код на включение шейдера, а так же сделать свои настройки, если ты разрабатываешь главное меню для своего режима
MitsuSoup 5 Dec @ 10:03pm 
doesn't show up for some reason
Jorg 2 Dec @ 12:04am 
does anyone know if the example shaders are available to download on the workshop
Baboon13 30 Nov @ 3:10am 
Ку Евгеха , можешь добавить настройку для serverside? А то всех уговаривать зайти в постобработка-> шейдеры - не о чем , не все увидят шейдеры из за лени и тд , типо чтобы настройки были для всего сервера :GDEasy:
tsaa 28 Nov @ 8:28am 
how do you keep settings like when you start a new game, the settings you have will apply?
Evgeny Akabenko  [author] 27 Nov @ 11:08pm 
Thats now ok. Thanks! :HeartPix:
Tyro 27 Nov @ 1:50pm 
Im having the same issue as below
Karroe 27 Nov @ 1:26pm 
After recent update, this error is being spammed in the console:

[GShader Library] lua/autorun/client/worldpos.lua:178: attempt to index global 'old_ViewProj' (a nil value)
1. DrawReconstruction - lua/autorun/client/worldpos.lua:178
2. fn - lua/postprocess/shader_lib.lua:261
3. unknown - lua/ulib/shared/hook.lua:115 (x3069)
Emica5 27 Nov @ 1:18pm 
Lastest update (this Update), gives me LUA errores!
GabrielRS 26 Nov @ 5:49pm 
I got an issue where it makes all of a characters polygons visible it looks very blocky
PrinceJaxonHellsing™ 24 Nov @ 12:25pm 
Hey, so I have a weird issue when this mod is enabled, where in third person, there's like, some weird duplicate stretched out version of my player model, and with the physgun equipped, my camera is inside my player models head some reason I don't know how to fix it. I also have a general issue where weapons I have, specifically many of the vanilla half life 2 weapons, I can see my arms and my camera is clipping through them, I know that's not an issue with this mod, but I was wondering if anyone has a solution for that too?
chicken nugget 23 Nov @ 8:43pm 
it crashes gmod when you touch water
Kona 19 Nov @ 6:38pm 
Thats what I'm thinking because i had those two as my favs and now their gone, wtf happened?
Jonathan Shoots'em 19 Nov @ 3:23pm 
So what happened to the CSM and Volumetric shaders? they got taken down
mj 17 Nov @ 10:37am 
this glitches a lot with third person is there any way to fix it?
Soul Forge 17 Nov @ 12:16am 
Valid! :gman:
Evgeny Akabenko  [author] 16 Nov @ 3:21am 
Evgeny Akabenko  [author] 16 Nov @ 3:21am 
I wrote to the MW base developer half a year ago and explained the problem. He didn't create a patch or a fix.

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.
Soul Forge 16 Nov @ 1:49am 
Can you fix Gshader for MW base please? world and viewmodels both freeze when switching to a different regular item that is NON-MW base like an HL2 weapon or something
this is cool and all but this makes my flashlight have a shadow for some reason
Rasmordem 9 Nov @ 12:11am 
@Evgeny Akabenko

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.
sweeteyes7 6 Nov @ 6:13pm 
Okay I figured out that the thing causing the double body is Enhanced Camera 2, but the model is transparent for some reason even with EH2 off
OD_toast 6 Nov @ 1:32pm 
are you going to make a parallax snow shader
Lambda 6 Nov @ 10:50am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
sweeteyes7 6 Nov @ 5:10am 
Is there a way to get rid of the weird duplicate body it makes when you look at yourself in third person
U+48 3 Nov @ 1:35pm 
Crashes in Linux (Cinnamon)
PedroCalderoni 1 Nov @ 6:41pm 
Idk why, but flashlight attachments for guns from arc9, breaks whenever this addon is activated, and idk how to fix it
Zacharey 31 Oct @ 11:03am 
this addon seems to cause issues with wiremod e2 holos when loading, a heavy burst of holos would cause my game to crash
gm_Redlerman16 30 Oct @ 12:00am 
found this error aswell, fix?

[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
Ozkii 29 Oct @ 12:45pm 
Ive also had the same issues with the depthBuffer and NikNaks errors, i feel like they shouldnt be required for the other shaders? Or atleast it should be shown as now required here

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
Ozkii 29 Oct @ 12:41pm 
Im an Addon Dev and the current one im working on seems to trigger errors from your latest update (29th Oct)

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
Crimson Thunder 29 Oct @ 10:33am 
[GShader Library] lua/autorun/client/depthbuffer.lua:64: Module not found!
1. require - [C]:-1
2. unknown - lua/autorun/client/depthbuffer.lua:64
Crimson Thunder 29 Oct @ 10:32am 
[GShader Library] Couldn't include file 'includes\modules\niknaks.lua' - File not found or is empty (@lua/autorun/client/depthbuffer.lua (line 64))
1. unknown - lua/autorun/client/depthbuffer.lua:64
UNIT1 28 Oct @ 6:41pm 
somehow messes up arc9 c_hands
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
idksomething 27 Oct @ 7:34pm 
anyway to fix conflicts between this, vmanip, and/or arc9 RT Scopes?
Lusty Goblin 27 Oct @ 8:08am 
Damn, I played Gmod so much I want to make it look a bit more nicer to spice it up and this mod is amazing, but one of my gripes with games is being a floating camera and never being able to see my body when looking down, I use Enhanced Camera 2 mod but it makes a dupe of my body behind me, I looked for other body camera mods and though they work, they have problems themselves, so it's a pain now of the usual mod I use doesn't work with this one, the alternatives are good but their mod creators need to sort the problems in their mods.

I hate being like this.
Evgeny Akabenko  [author] 23 Oct @ 11:30am 
Fixed eye ang .z rotation bug
SuperSaskiemena 22 Oct @ 11:37am 
BRO MAKE IT SO IT DOESNT MESS UP VIEWMODEL-RELATED ADDONS PLEASE
BackInTheBlues 22 Oct @ 2:05am 
If this could work with vmanip/c_hands view models and the dynamic fog mod this would be a must have.
Juveima 21 Oct @ 12:29pm 
hello, i am getting this message
[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!
melody 20 Oct @ 8:32am 
where can we get the "contact shadows on weapon" shader it looks so goooodddddd