Context(s) | fog surface |
This function is only valid inside an illuminance loop.
int shimport(string variable_name, <type>&value)
variable_name
The variable to import from the shadow shader.
value
If the variable is successfully read, the value is copied into this variable.
Returns
1
if the variable is defined and exported, 0
otherwise.
fog | |
shadedata | |
surface |