Garry's Mod
GShader Library
Mostrando 71-80 de 126 aportaciones
< 1 ... 6  7  8  9  10 ... 13 >
Actualización: 9 SEP a las 11:20 a. m.

CSM Fixes

Actualización: 5 SEP a las 6:58 a. m.

Actualización: 5 SEP a las 6:51 a. m.

Actualización: 5 SEP a las 6:44 a. m.

Fixed fog rt, removed RGBA16F for _rt_WPDepth

Actualización: 3 SEP a las 1:47 p. m.

Actualización: 3 SEP a las 1:44 p. m.

Maked adaptation for antiscreamer addon

Actualización: 3 SEP a las 2:51 a. m.

Actualización: 1 SEP a las 4:52 a. m.

Fixed some glithes for Velocity buffer.

Actualización: 1 SEP a las 4:29 a. m.

Minor changes

Actualización: 1 SEP a las 4:23 a. m.

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