Garry's Mod
GShader Library
Εμφάνιση 1-10 από 52 καταχωρίσεις
< 1  2  3  4  5  6 >
Ενημέρωση: 3 Σεπ στις 13:47

Ενημέρωση: 3 Σεπ στις 13:44

Maked adaptation for antiscreamer addon

Ενημέρωση: 3 Σεπ στις 2:51

Ενημέρωση: 1 Σεπ στις 4:52

Fixed some glithes for Velocity buffer.

Ενημέρωση: 1 Σεπ στις 4:29

Minor changes

Ενημέρωση: 1 Σεπ στις 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

Ενημέρωση: 29 Αυγ στις 11:07

Removed hook param

Ενημέρωση: 28 Αυγ στις 19:54

Some fixes

Ενημέρωση: 28 Αυγ στις 19:30

Added test rt of bumps.

Ενημέρωση: 26 Αυγ στις 17:41

Fixed fix of MW base