I'm trying to access shadows data with LWRP, following the example Bellow: https://docs.unity3d.com/Manual/SL-VertexFragmentShaderExamples.html That seems a bit deprecated, anyone know how to do it with LWRP?
Ok, found the solution there: https://github.com/Unity-Technologi...lines.lightweight/ShaderLibrary/Lighting.hlsl Using GetMainLight, then accessing shadow attenuation