shimport VEX function
Imports a variable from the shadow shader for the surface.
-
int shimport(string , int &) -
int shimport(string , float &) -
int shimport(string , vector &) -
int shimport(string , vector4 &) -
int shimport(string , matrix &) -
int shimport(string , matrix3 &) -
int shimport(string , string &)
Imports a variable from the shadow 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.