Thanks for the heads up. I tried the above and when it wasn’t working i assumed the commented HLSL was just a hint or such. Turns out I had set “Render Custom Depth Pass” on the mesh, but not “Allow Custom Depth Writes” on the material - all good
Thanks for the heads up. I tried the above and when it wasn’t working i assumed the commented HLSL was just a hint or such. Turns out I had set “Render Custom Depth Pass” on the mesh, but not “Allow Custom Depth Writes” on the material - all good