Skip to main content
Version: 5.x

Nodes > Functions > Sample > Texture Cube Sample

Texture Cube Sample

Returns the pixel value of a Texture Cube object at the given a 3D direction vector. The UVW coordinate represents a direction from the center of the cube to the value to be accessed.

Inputs

NameTypeDescription
TextureTEXTURE_OBJECT_CUBETexture Cube object to sample
UVW CoordsfloatThe 3D direction vector to sample the texture cube at. Range is 0-1, but values outside this range may work depending on the texture wrap mode.
LODfloatWhich LOD level to sample from. Only works if Mipmaps are enabled in the texture parameters in the material inspector

Outputs

NameTypeDescription
ColorcolorSampled color value

Properties

NameTypeDescription
LOD ModedropdownIf set to "Auto", LOD will be handled automatically. If set to "Custom", the LOD input will be exposed and used instead
Was this page helpful?
Yes
No