Garry's Mod

Garry's Mod

GShader Library
Menampilkan71-80 dari 126 kiriman
< 1 ... 6  7  8  9  10 ... 13 >
Pembaruan: 9 Sep @ 11:20am
berdasarkan Evgeny Akabenko

CSM Fixes

Pembaruan: 5 Sep @ 6:58am
berdasarkan Evgeny Akabenko

Pembaruan: 5 Sep @ 6:51am
berdasarkan Evgeny Akabenko

Pembaruan: 5 Sep @ 6:44am
berdasarkan Evgeny Akabenko

Fixed fog rt, removed RGBA16F for _rt_WPDepth

Pembaruan: 3 Sep @ 1:47pm
berdasarkan Evgeny Akabenko

Pembaruan: 3 Sep @ 1:44pm
berdasarkan Evgeny Akabenko

Maked adaptation for antiscreamer addon

Pembaruan: 3 Sep @ 2:51am
berdasarkan Evgeny Akabenko

Pembaruan: 1 Sep @ 4:52am
berdasarkan Evgeny Akabenko

Fixed some glithes for Velocity buffer.

Pembaruan: 1 Sep @ 4:29am
berdasarkan Evgeny Akabenko

Minor changes

Pembaruan: 1 Sep @ 4:23am
berdasarkan Evgeny Akabenko

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