Hello,
I’m currently working on a deferred pipeline. So far everything works well except that I have a huge difficulty getting alpha cutout shadows to work.
My current setup :
I have a uber shader with different options, with a custom vertex shader for displacement and I’m using a surface shader for passing all the info to the rest of the pipeline.
I tried renaming my alpha cutout properties to _Cutoff and _MainTex (so it fits with the internal depth normal shader), I tried creating my own depth normal shader, nothing seems to change the result. I have an alpha cutout looking mesh, with a whole shadow
I know it would be possible to create a variation of that shader in forward for the specific case we need cutout, but since we may end up having a lot of vegetation, I would like to stay in our pipeline.
Anyone knows how to handle Alpha Cutout (or Transparent Cutout) for shadows, in deferred?
Ideally, I would like it even more if I could have my own depth normal shader to work with the deferred pipeline, but it feels like it doesn’t change anything