celshanding with point light influence

I discovered that the problem is in the coordinate vector. Regardless of any changes I make, the
light vector will remain in the same direction. I need to find out how the sunlight vector is made within the material, so that I can replicate the result in another actor.