Hi,
I would like to have a LayerWeight/Fresnel node - but instead of taking the viewing angle/camera position into account, it should be based on the position of the light.
Probably it would be possible to use some vector math to achieve this, but I don´t find a way to get access to the light position in the node tree.
Do you know, if this is possible and if yes - what would be the best approach?
Thanks!