Garry's Mod

Garry's Mod

GShader Library
Visar 41–50 av 88 poster
< 1 ... 3  4  5  6  7 ... 9 >
Uppdatering: 1 sep @ 4:29

Minor changes

Uppdatering: 1 sep @ 4:23

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

Uppdatering: 29 aug @ 11:07

Removed hook param

Uppdatering: 28 aug @ 19:54

Some fixes

Uppdatering: 28 aug @ 19:30

Added test rt of bumps.

Uppdatering: 26 aug @ 17:41

Fixed fix of MW base

Uppdatering: 26 aug @ 9:55

Fixed TFA flashlights. x2

Uppdatering: 26 aug @ 9:04

Fixed TFA flashlights.

Uppdatering: 26 aug @ 7:49

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)

Uppdatering: 26 aug @ 3:29

Fixed TFA 3D scopes support