7 lines
121 B
HLSL
7 lines
121 B
HLSL
#include "common.hlsli"
|
|
|
|
// Pixel
|
|
float4 main(float4 depth : TEXCOORD1) : COLOR
|
|
{
|
|
return depth.z / depth.w;
|
|
}
|