Advertisement
Guest User

Untitled

a guest
Nov 25th, 2016
11,203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include "ReShade.fxh"
  2.  
  3. float3 Main(float4 vpos : SV_Position, float2 texcoord : TexCoord) : SV_Target
  4. {
  5. return ReShade::GetLinearizedDepth(texcoord).xxx;
  6. }
  7.  
  8. technique DisplayDepth
  9. {
  10. pass
  11. {
  12. VertexShader = PostProcessVS;
  13. PixelShader = Main;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement