![](https://uploads.gamedev.net/forums/monthly_2021_03/4a36a77d5a8a49de97d97435d5a6e8c3.help.png)
As you can see in the image, the D component is one, despite it being black, my cursor is at a black area in the texture but the depth value is always one no matter where I look.
I am writing the depth to a texture, this is from debugging the output merger.
I have no idea why it always returns 1 no matter what pixel I'm looking at.
Any help would be very appreciated.
I should also say that I'm rendering from the camera's perspective, I have another depth texture from a light source perspective, and that one works, it has different values over the black areas. I'm using the same texture types.