UNITY_DECLARE_SHADOWMAP(tex) - declares a shadowmap texture variablewithname“tex”. UNITY_SAMPLE_SHADOW(tex,uv) - samples shadowmap texture “tex” at given “uv” coordinate (XY components are texture location, Z componentisdepthtocomparewith). Returns single float valuewiththe shadow termin0...