Basically, I want to create a simple Standart shader with Transmission in Deferred. I/m placing grass in my project with particles, not with Grass tool from the terrain. Here is the shader in Forward mode and I need this shader in Deferred. I've also changed by hand how Transmission work.
From:
half3 transmission = max(0 , -dot(s.Normal, gi.light.dir)) * gi.light.color * s.Transmission;
To:
half3 transmission = gi.light.color * s.Transmission;
I was trying to change the whole
inline half4 LightingStandardCustom(SurfaceOutputStandardCustom s, half3 viewDir, UnityGI gi ) function to same for a Deferred mode (with this manual
https://docs.unity3d.com/Manual/SL-Surf ... hting.html), but failed.