Hi I really love your hair shader version 9 but it doesn't work on any lights other than directional so I added the missing code after analyzing the shader code and now it works fine but I was wondering whether it was possible to get the same self-shadowing from point lights as it does from directional and spot lights and if so what would the new code look like? cuz I don't really have knowledge about shaders.
Directional from left side:

Point light from left side:

Hi I really love your hair shader version 9 but it doesn't work on any lights other than directional so I added the missing code after analyzing the shader code and now it works fine but I was wondering whether it was possible to get the same self-shadowing from point lights as it does from directional and spot lights and if so what would the new code look like? cuz I don't really have knowledge about shaders.


Directional from left side:
Point light from left side: