Skip to main content
Version: 4.55.1

Nodes > Main > Environment Sample

Environment Sample

Returns the color of the environment map light given a direction and mipmap level (LOD).

Inputs​

NameTypeDescription
DirectionfloatThe direction vector for sampling the environment map
LODfloatThe environment map's mip level to sample

Outputs​

NameTypeDescription
ColorcolorThe value of the environment map

Properties​

NameTypeDescription
ModedropdownWhich envmap texture to sample, Specular or Diffuse
Was this page helpful?
Yes
No