e4s-sdk/gamedata/shaders/r2/depth.ps
2026-06-17 23:06:51 +03:00

8 lines
206 B
PostScript

#include "common.h"
//////////////////////////////////////////////////////////////////////////////////////////
// Pixel
half4 main (float4 depth : TEXCOORD1 ) : COLOR
{
return depth.z/depth.w;
}