I tried many settings on the camera, the render texture, the rendering pipeline but nothing seems to make the shader show up on the render texture the camera outputs. How do I fix this?
#Depth shader not captured in render texture
1 messages · Page 1 of 1 (latest)
Raw Screen Position -> A only gives you the depth to fragment position for perspective projections. For orthographic that's always 1.
To work in both projections, you can instead use Position node (View space) -> Split B -> Absolute -> (into B of Subtract)
