I have I transparent Water shader, in which I need the Scene Depth and where "Depth Write" is on ForceEnabled. I also have a fog shader as a custom Renderer Feature as "Full Screen Pass Renderer Feature" with a "Full Screen Shader Graph". The fog shader needs the Scene depth as well. But somehow my Water shader does not wirte to the depth shader so my fog is extremly dense where my water is at even though you should be able to see the water. Why is this happening and how can this be fixed (v. 2022.2.9f1)?
The Terrain is really steep there so you can see how it doesnt wirte to the depth buffer (made the fog black)
![alt text][1]
[1]: /storage/temp/205400-screenshot-2023-03-07-184854.png
↧