---
title: Cube Image (RealityKit)
framework: shadergraph
role: symbol
role_heading: ShaderGraph Node
path: shadergraph/realitykit/cube-image-(realitykit)
---

# Cube Image (RealityKit)

A texturecube with RealityKit properties.

## Overview

Overview Adjustable level of detail. Input image must be in KTX file format Parameter Types Parameter descriptions Discussion The Cube Image node produces a texture using the contents of the image file specified in the File parameter. It has a variety of parameters that affect the properties of the rendered textures. note: Create the input file in a .ktx format or the node won’t work properly. The possible values for the wrap mode parameters are: warning: You can only use clamp-to-zero if the Border Color parameter is set to transparent_black; otherwise, the behavior of the node is undefined. The possible values for Mag Filter and Min Filter are: The Mip Filter parameter has the same possible values, with the addition of the option to allow for the value of None, which specifies that it doesn’t use mipmapping. Below is an example of a node graph that uses the Cube Image Node to take a .ktx file and create a cube image texture:

Below, the resulting texture applies to a cube:

This example functions for all of the Cube Image nodes. The only difference is the various inputs used to modify how the cube image renders.

## See Also

### Nodes

- [Unlit Surface (RealityKit)](shadergraph/realitykit/unlit-surface-(realitykit).md)
- [PBR Surface (RealityKit)](shadergraph/realitykit/pbr-surface-(realitykit).md)
- [Occlusion Surface (RealityKit)](shadergraph/realitykit/occlusion-surface-(realitykit).md)
- [Shadow Receiving Occlusion Surface (RealityKit)](shadergraph/realitykit/shadow-receiving-occlusion-surface-(realitykit).md)
- [View Direction (RealityKit)](shadergraph/realitykit/view-direction-(realitykit).md)
- [Camera Position (RealityKit)](shadergraph/realitykit/camera-position-(realitykit).md)
- [Geometry Modifier Model To World (RealityKit)](shadergraph/realitykit/geometry-modifier-model-to-world-(realitykit).md)
- [Geometry Modifier World To Model (RealityKit)](shadergraph/realitykit/geometry-modifier-world-to-model-(realitykit).md)
- [Geometry Modifier Normal To World (RealityKit)](shadergraph/realitykit/geometry-modifier-normal-to-world-(realitykit).md)
- [Geometry Modifier Model To View (RealityKit)](shadergraph/realitykit/geometry-modifier-model-to-view-(realitykit).md)
- [Geometry Modifier View To Projection (RealityKit)](shadergraph/realitykit/geometry-modifier-view-to-projection-(realitykit).md)
- [Geometry Modifier Projection To View (RealityKit)](shadergraph/realitykit/geometry-modifier-projection-to-view-(realitykit).md)
- [Geometry Modifier Vertex ID (RealityKit)](shadergraph/realitykit/geometry-modifier-vertex-id-(realitykit).md)
- [Surface Model To World (RealityKit)](shadergraph/realitykit/surface-model-to-world-(realitykit).md)
- [Surface Model To View (RealityKit)](shadergraph/realitykit/surface-model-to-view-(realitykit).md)
