Nodes > Main > Environment Sample

Returns the color of the environment map light given a direction and mipmap level (LOD).
Inputs
| Name | Type | Description |
|---|---|---|
| Direction | float | The direction vector for sampling the environment map |
| LOD | float | The environment map's mip level to sample |
Outputs
| Name | Type | Description |
|---|---|---|
| Color | color | The value of the environment map |
Properties
| Name | Type | Description |
|---|---|---|
| Mode | dropdown | Which envmap texture to sample, Specular or Diffuse |
Was this page helpful?