Garry's Mod

Garry's Mod

GShader Library
Ergebnisse 71–80 von 126
< 1 ... 6  7  8  9  10 ... 13 >
Update: 9. Sep. um 11:20

CSM Fixes

Update: 5. Sep. um 6:58

Update: 5. Sep. um 6:51

Update: 5. Sep. um 6:44

Fixed fog rt, removed RGBA16F for _rt_WPDepth

Update: 3. Sep. um 13:47

Update: 3. Sep. um 13:44

Maked adaptation for antiscreamer addon

Update: 3. Sep. um 2:51

Update: 1. Sep. um 4:52

Fixed some glithes for Velocity buffer.

Update: 1. Sep. um 4:29

Minor changes

Update: 1. Sep. um 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