Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "ReShade.fxh"
- float3 Main(float4 vpos : SV_Position, float2 texcoord : TexCoord) : SV_Target
- {
- return ReShade::GetLinearizedDepth(texcoord).xxx;
- }
- technique DisplayDepth
- {
- pass
- {
- VertexShader = PostProcessVS;
- PixelShader = Main;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement