We have implemented a surface PBR relief shader that works with our lighting system. So far, it works rather well. But one thing that would push the lighting to the next level would be if the relief could be written in the ZBuffer. Is there anyway to modify the ZBuffer from a surface shader? If not, I know it's possible from a normal fragment shader. But I have no idea how to package a fragment with a surface and have two passes properly.