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

7 lines
121 B
HLSL

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