Version: Unity 6 (6000.0)
Language : English
Create a 3D texture
Sample a 3D texture in a shader

Preview a 3D texture

To preview a 3D texture, do one of the following:

  • Use the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
    See in Glossary
    window.
  • Draw the 3D texture in the SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
    See in Glossary
    view.

Use the Inspector window

To preview a 3D texture, select the texture in the Project window. In the Inspector window, Unity displays the preview of the texture at the bottom of the Texture Import Settings window.

There are three different 3D texture preview modes available:

  • Volume mode displays the 3D texture as a translucent cube. Click and drag the cube to rotate the preview.
  • Slice mode displays a 2D slice of each of the three axes of the 3D texture. Use the X, Y and Z sliders to select the slices to preview.
  • SDF mode displays the 3D texture as a signed distance field (SDF) in 3D space.

Refer to 3D texture preview reference for more information.

Draw the 3D texture in the Scene view

Use the Handles API to draw the 3D texture in the Scene viewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
. The Handles API lets you use custom gradients and configure how you draw the texture.

Refer to the following for more information:

Create a 3D texture
Sample a 3D texture in a shader