Hi all.
I trying make PCSS with use whitepaper:
http://developer.download.nvidia.com/whitepapers/2008/PCSS_Integration.pdf
http://developer.download.nvidia.com/shaderlibrary/docs/shadow_PCSS.pdf
But i can't understand what is
NEAR_PLANE 9.5
LIGHT_WORLD_SIZE .5
LIGHT_FRUSTUM_WIDTH 3.75
in first whitepaper in the HLSL code, and can't understand what is the formulas:
searchWidth = LIGHT_SIZE_UV * (zReceiver - NEAR_PLANE) / zReceiver
and
filterRadiusUV = penumbraRatio * LIGHT_SIZE_UV * NEAR_PLANE / coords.z.
Please help me.