Post not yet marked as solved
Post marked as unsolved with 3 replies, 2,719 views
Hi-Just curious.. I'm trying to write a custom depth out in the fragment shader and I can't seem to figure out how to do this. I looked into writing to the depth texture, but the access::write is not allowed for a depth2d<> var. Is there any way to do this without doing a pre-pass?Seems odd that the same hardware that runs OpenGLES3 w/depth buffer write can't do it in the metal side of the house..Thanks!