I find no document,so come for somebody’s help.
I has already found the answer:
But I find _LightShadowData.w has no connection with Shadow Near Plane Offset or the Near Cliping Planes of camera.So what is the _LightShadowData.w?I use unity 2018.
It’s exactly what it says it is in that previous post. However I don’t believe there’s anyway to set that value directly, it uses some hard coded values depending on if you’re using stable fit or close fit shadows.
Yes,the w is related to Shadow Projection setting.