Imports a variable from the light shader for the surface.
int limport(string , int &)int limport(string , float &)int limport(string , vector &)int limport(string , vector4 &)int limport(string , matrix &)int limport(string , matrix3 &)int limport(string , string &)
Imports a variable from the light shader for the surface.
If the shader variable named by the first argument is defined and exported, the function returns 1 and puts the value in the second argument. Otherwise, it returns 0.
This function is only valid inside an illuminance loop.