
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.
Name | Type | Description |
---|
Texture | TEXTURE_OBJECT_CUBE | Texture Cube object to sample |
UVW Coords | float | The 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. |
LOD | float | Which LOD level to sample from. Only works if Mipmaps are enabled in the texture parameters in the material inspector |
Outputs
Name | Type | Description |
---|
Color | color | Sampled color value |
Properties
Name | Type | Description |
---|
LOD Mode | dropdown | If set to "Auto", LOD will be handled automatically. If set to "Custom", the LOD input will be exposed and used instead |