limport
| Context(s) | displace fog shadow surface |
|---|
Note This function is only valid inside an illuminance loop.
int limport(string name, <type>&value)
name
The name of the shader variable to read.
&value
If the named variable is defined and exported, the function overwrites this variable with the variable’s value.
Returns
Returns 1 if the shader variable is defined and exported, or 0 otherwise.