Environment Map
VEX node
Sets the environment map (on an infinite sphere) and returns its color.
See also: Color Map, Texture, Texture 3D
This operator sets the environment map (on an infinite sphere) and returns its color. If the image does not have an alpha channel associated with it (e.g. a JPEG image) and the operator returns RGBA, the alpha component will be set to 1.
See how to create an environment/reflection map.
Parameters
|
Signature |
RGB or RGBA values |
||||||||||||||||||
|
Environment Map |
Image file to use as environment map |
||||||||||||||||||
|
Direction |
Direction of map application. This is typically computed by reflecting the I vector against the front facing normal. |
||||||||||||||||||
|
Wrap |
Determines how the image is evaluated when the texture coordinates are outside the range 0 to 1. The options are:
|
||||||||||||||||||
|
Filter Type |
type of anti-aliasing filter to be used for evaluation. The options are:
|
||||||||||||||||||
|
Filter Width |
Filter width in both u and v directions. |
||||||||||||||||||
|
Border Color |
Border color when Decal wrapping is used. |
||||||||||||||||||
|
Extrapolate Derivatives |
Specifies whether derivative extrapolation should be used when computing anti-aliasing information. |
||||||||||||||||||
|
Interpolate MIP Levels |
Specifies whether RAT files should interpolate between different MIP levels. If enabled, it will help remove discontinuities when different MIP levels of a RAT file are accessed. However, the results of texture evaluation will be slightly softer (i.e. blurrier) and will take twice as long to compute. |
Usages in other examples
| Example name | Example for |
|---|