I’ve got an issue with updating shaders, referring this manual:
https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.2/manual/Upgrading-from-2020.1-to-2020.2.html
I’ve added #pragma multi_compile _ WRITE_DECAL_BUFFER to DepthOnly pass, and fixed errors regarding angle / vtxNormal parameter, however decals still doesn’t show up on those custom shader surfaces.
Lit shader surfaces draw decals just fine.
Decal layers disabled, and Rendering layer mask set to everything
Enabling “Depth Prepass within Deferred” fixes the issue, but that introduces full depth prepass back (if I understand that correctly).
What am I missing?