Garry's Mod

Garry's Mod

GShader Library
Viser 41-50 af 88 forekomster
< 1 ... 3  4  5  6  7 ... 9 >
Opdatering: 1. sep. kl. 4:29

Minor changes

Opdatering: 1. sep. kl. 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

Opdatering: 29. aug. kl. 11:07

Removed hook param

Opdatering: 28. aug. kl. 19:54

Some fixes

Opdatering: 28. aug. kl. 19:30

Added test rt of bumps.

Opdatering: 26. aug. kl. 17:41

Fixed fix of MW base

Opdatering: 26. aug. kl. 9:55

Fixed TFA flashlights. x2

Opdatering: 26. aug. kl. 9:04

Fixed TFA flashlights.

Opdatering: 26. aug. kl. 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)

Opdatering: 26. aug. kl. 3:29

Fixed TFA 3D scopes support