environment vex function
Returns the color of the environment texture.
vector environment(string texture_filename, vector relect_dir)vector4 environment(string texture_filename, vector relect_dir)vector environment(string texture_filename, vector relect_dir0, vector relect_dir1, vector relect_dir2, vector relect_dir3)vector4 environment(string texture_filename, vector relect_dir0, vector relect_dir1, vector relect_dir2, vector relect_dir3)
Returns the color of the environment texture in the direction given by the reflect_dir argument. The signatures that specify four vectors filter the map pixels found within the cone defined by the vectors.
Note | If you specify the
The default value for |
You can optionally specify filtering options .
