From Odwiki
L is a global variable in RSL and VEX which is used to store the direction from the light source to the point being shaded. In a VEX light shader, this is equivalent to:
L = P - Ps;
Where P is the position of the light source and Ps is the position of the surface.