Hey everyone,
I have been dealing with an issue with Unity and shaderforge for quite a while now and I cant get to the bottom of it. I think that it’s Unity’s problem.
The problem is that in deffered rendering mode, Unity will not lightmap any shader with the Opacity Clip/ Cutoff property. This issue is open with the dev of shaderforge but I dont think he can fix it because again I believe it to be a Unity issue. I have tested this with the Unity standard clipping shader as a control and the results can be seen clearly.
At first the objects don’t receive any shadow, after deleting the cutoff value from the properties of the shader however I receive shadow but they are incorrect as it is not taking in to account the alpha mask.
Edit: After starting a new stock project with standard shaders and deferred rendering I have gained some evidence that it is indeed shader forge.