Skip to main content
Version: 5.x

Nodes > Functions > Sample > Texture 3D Sample

Texture 3D Sample

Returns the pixel value of a 3D Texture object at the given coordinates.

Inputs

NameTypeDescription
TextureTEXTURE_OBJECT_3DTexture object to sample
UVW CoordsfloatCoordinates to sample the texture 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