Garry's Mod

Garry's Mod

GShader Library
400 Comments
da ragin yajun 14 hours ago 
Hello Mr. Akabenko,

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!
G. Possum 22 hours ago 
pretty much just breaks viewmodels by just copying the full model with practically no mods that majorly affect first person
cutmyheadoff 8 Oct @ 8:44pm 
Recently started causing some peculiar glitches with Vmanip. My viewmodel (c_hands with a weapon) start moving around the map when switching from an arc9/MWbase weapon to any other tool.
ste 8 Oct @ 2:31pm 
experiencing the same issue, except turning every setting off doesnt fix it for me
Designated Kitty 03-052 8 Oct @ 1:55pm 
if I turn every setting off it goes back to normal. Weird.
Designated Kitty 03-052 8 Oct @ 1:49pm 
This all the sudden started messing with vmanip. It just makes it disappear when looking straight horizontal but comes back if you look up or down. I don't know whats happening.
C1TY 6 Oct @ 3:03pm 
when using ARC9 weapon and aiming with a scope at the skybox the skybox wont show but the outside of the scope while aiming does show
da ragin yajun 3 Oct @ 7:09pm 
Check if you have Gmod Legs V3 installed, the way they simulated first-person legs was kinda janky and tended to break with certain mods. Uninstalling that fixed it for me, and the shader library wouldn't cause that sort of corruption.
Lusty Goblin 3 Oct @ 10:09am 
It's a shame, this mod makes me have some distorted copy of my body behind me for some reason, probably clashing with another mod but it's a pain.
Headcrab 28 Sep @ 5:31pm 
when I look at a npc or ground theres a weird flashlight thing
Bartholomew 27 Sep @ 9:53pm 
I think the recent update stopped this mod from functioning https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2737702541
Hypernought 26 Sep @ 5:19pm 
someone can make a shader based on this please https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3195029892
Termin.x 26 Sep @ 2:53pm 
i just cant prove that somebody is gonna use this for rtgi in game...
Argon 25 Sep @ 12:29pm 
This mod is incompatible with EC2
Nate Plays 24 Sep @ 2:59pm 
keep getting this error, i think it was "d3dglsl translate error" on my steam deck
cccrewmalt 24 Sep @ 7:32am 
PLEAAASE release the example shaders :steammocking:
Gran Trasero 22 Sep @ 9:23am 
These effects look very nice, but due to how they are designed they are incompatible with vrmod_64 extended. I will have to enjoy these in a non-vr gmod setup, I don't really expect the dev of either mod to fix a bunch of things for the compatability of the other since it's not really their job or a stated goal of either mod.

anyway, FYI to those who can't see their hands/menus in vrmod but it runs aside from that: sadly it's this mod conflicting, sorry but you're gonna have to drop the nice effects.
Evgeny Akabenko  [author] 21 Sep @ 1:27pm 
GShader Library Update:
- Fixed Physgun effect
- Added Normal two pass smooth (Guided filter)
Marshal Talulah 21 Sep @ 1:16am 
@Larry.
Yeah. It still happened. Another gun base also affect too.
OMEGA GABE 20 Sep @ 7:38am 
seems to be incompatible with modern warfare weapons by breaking 3rd person animations
Енот Хак 18 Sep @ 10:35am 
Знаешь, Евгений, миру нужно больше разработчиков вроде тебя. Я сейчас не шучу, любой другой послал бы куда подальше и сказал бы искать решение самому, а ты фиксишь.
Evgeny Akabenko  [author] 18 Sep @ 10:18am 
ok will be fixed
ExZachly 17 Sep @ 5:24pm 
Every time I switch my weapon to a non mwb, my arms float in a still position.
ExZachly 17 Sep @ 5:22pm 
I've noticed that people have problems with MWB and this mod. My MWB is broken in the mod and it seems that it was fixed at some point for others. I'm wondering how I fix it. Is it another mod that fixes it or is there some settings I change? :bleach::FC5_Cheeseburger:
Енот Хак 17 Sep @ 6:49am 
@stealthi26 ARC9 crashes my game every 7 minutes, I've tried it, believe me. Also it is a little bit janky in general.
stealthi26 16 Sep @ 8:05pm 
Use ARC9
Енот Хак 16 Sep @ 5:14pm 
On Linux MWBase is still broken
Енот Хак 16 Sep @ 4:53pm 
Seems like MWBase is fixed...
podzmir 16 Sep @ 6:37am 
67 updates :GDAuto:
Енот Хак 14 Sep @ 11:54am 
Breaks MWbase.
McTed 14 Sep @ 7:54am 
Thankyou, MWbase seems to dislike it but apart from that it works great!
Evgeny Akabenko  [author] 14 Sep @ 6:26am 
@McTed fixed
Evgeny Akabenko  [author] 14 Sep @ 6:25am 
GShader library update :csgoct::csgoct::csgoct::csgoct:
Several methods for obtaining _rt_Bump (RGB888) bumps from color shades in the current frame have been developed. Edge defect elimination methods from normal reconstruction methods have been applied:
- Simple: Bumps are obtained by just one texture sampling, which is suitable for integrated video cards, but has poor quality.
- 3TAP: TAP methods are a balance between quality and performance.
- 4TAP
- Accurate: The best method for bump reconstruction. It eliminates defects on the edges of geometry when creating bumps.

The bump render target will be useful in the future for creating:
- Screen Space Reflexions (SSR) - to achieve better reflections.
- Screen Space Directional Occlusion (SSDO) or Screen Space Global Illumination (SSGI) - to create more realistic lighting.
- If desired, you can also calculate lighting from dynamic light sources Paraboloid Point Light, if there are any brave souls.
McTed 13 Sep @ 2:45pm 
@Evgeny Akabenko
No sorry

[GShader Library] lua/autorun/client/shaderlib.lua:91: attempt to index a nil value
1. v - lua/autorun/client/shaderlib.lua:91
2. unknown - lua/includes/modules/hook.lua:102

Sometimes there was like a 1 in 5 chance of it working last update. I had a map called escape from vekko that corrupted on every second launch so it could be gmod being weird
Evgeny Akabenko  [author] 13 Sep @ 10:16am 
@McTed
Updated. Does it fixed?
McTed 10 Sep @ 8:15am 
I get this error on linux native which might be from last update (on map startup)

[GShader Library] lua/autorun/client/shaderlib.lua:30: attempt to index a nil value
1. v - lua/autorun/client/shaderlib.lua:30
2. unknown - lua/includes/modules/hook.lua:102
Evgeny Akabenko  [author] 9 Sep @ 3:48pm 
@An_Unknown_Player[FIN]
Fixed
An_Unknown_Player[FIN] 9 Sep @ 3:39pm 
Happens when loading to any map.
An_Unknown_Player[FIN] 9 Sep @ 3:39pm 
[GShader Library] lua/includes/util.lua:252: attempt to index local 'self' (a nil value)
1. SetRenderOrigin - lua/includes/util.lua:252
2. Render - lua/autorun/client/fixes_for_workshop_addons.lua:137
3. v - lua/enhanced_camera_2/client.lua:523
4. unknown - lua/includes/modules/hook.lua:102
5. RenderView - [C]:-1
6. UpdateShadowMaps - lua/autorun/client/csm_ghsaders.lua:738
7. v - lua/autorun/client/csm_ghsaders.lua:881
8. Run - lua/includes/modules/hook.lua:102
9. v - lua/autorun/client/csm_ghsaders.lua:657
10. unknown - lua/includes/modules/hook.lua:102 (x4)
An_Unknown_Player[FIN] 9 Sep @ 3:39pm 
[GShader Library] lua/includes/util.lua:252: attempt to index local 'self' (a nil value)
1. SetRenderOrigin - lua/includes/util.lua:252
2. Render - lua/autorun/client/fixes_for_workshop_addons.lua:137
3. v - lua/enhanced_camera_2/client.lua:523
4. unknown - lua/includes/modules/hook.lua:102
5. RenderView - [C]:-1
6. UpdateShadowMaps - lua/autorun/client/csm_ghsaders.lua:738
7. v - lua/autorun/client/csm_ghsaders.lua:881
8. Run - lua/includes/modules/hook.lua:102
9. v - lua/autorun/client/csm_ghsaders.lua:884
10. Run - lua/includes/modules/hook.lua:102
11. v - lua/postprocess/csm_postprocess.lua:483
12. unknown - lua/includes/modules/hook.lua:102
Evgeny Akabenko  [author] 7 Sep @ 1:52am 
@CarlosVIP9811
Describe the problem in discord
https://discord.gg/JVbhYEZAmQ
CarlosVIP9811 6 Sep @ 5:54pm 
what is the command that it gives to you in chat to make it better? it kinda f**ked up my render distance
Evgeny Akabenko  [author] 5 Sep @ 10:09pm 
soon :BEBEBEBE: :BEBEBEBE: :BEBEBEBE: :BEBEBEBE: :BEBEBEBE:
random232 5 Sep @ 3:57pm 
when is csm gshader gonna come out
雷电Thunder 3 Sep @ 10:06am 
Epic work:steamthumbsup::steamthumbsup::steamthumbsup:
Evgeny Akabenko  [author] 3 Sep @ 2:52am 
Все баги пишите в дискорд
gilles671games 3 Sep @ 1:04am 
У меня почему-то с этим модом периодически пропадают руки от первого лица
ChaoticSpaceKitten 1 Sep @ 5:14pm 
There's a weird shadow bug
Evgeny Akabenko  [author] 1 Sep @ 4:25am 
Fixed depth buffer in _rt_WPDepth (0...1 range)
Mr.KingXD 1 Sep @ 12:44am 
@Omega97Hyper Well I've never encountered issues with MW Base itself before, maybe it's some of your other mods conflicting with each other