Garry's Mod

Garry's Mod

GShader Library
Showing 41-50 of 88 entries
< 1 ... 3  4  5  6  7 ... 9 >
Update: 1 Sep @ 4:29am

Minor changes

Update: 1 Sep @ 4:23am

Fixed depth buffer in .a channel of _rt_WPDepth using formula:

float depth = 1 / ( tex2D(DepthBuffer,uv).a * 4000);

https://github.com/ValveSoftware/source-sdk-2013/blob/68c8b82fdcb41b8ad5abde9fe1f0654254217b8e/src/materialsystem/stdshaders/depthwrite_ps2x.fxc#L35C1-L39C6
g_flFarPlane == 4000

Same fix was in EGSM:
https://github.com/devonium/EGSM/blob/master/include_files/depthpass.lua#L163
return float4((1/tex2D(WDBuffer, i.vTexCoord).w)/4000,0,0,1);

1/depth/4000 == 1/(depth*4000) is equal

Update: 29 Aug @ 11:07am

Removed hook param

Update: 28 Aug @ 7:54pm

Some fixes

Update: 28 Aug @ 7:30pm

Added test rt of bumps.

Update: 26 Aug @ 5:41pm

Fixed fix of MW base

Update: 26 Aug @ 9:55am

Fixed TFA flashlights. x2

Update: 26 Aug @ 9:04am

Fixed TFA flashlights.

Update: 26 Aug @ 7:49am

Added shaderlib.DrawVertexScreenQuad(col, normal, tc1,tc2,tc3,tc4,tc5,tc6,tc7) to dev BRANCH.

Added forced disabling ARC9 iron DOF:
RunConsoleCommand("arc9_fx_adsblur", 0)
--ARC9 force disable iron dof: (arc9toytown -> written in depth buffer)

Returned VManip fix (confirm)

Update: 26 Aug @ 3:29am

Fixed TFA 3D scopes support