Contents

Materials, textures, and shaders

Apply textures to the surface of your scene’s 3D objects to give each object a unique appearance.

Overview

Materials define the appearance of 3D models in RealityKit, by defining how their surfaces interact with light. Materials can also occlude objects behind them, hold shaders, or act as portals to view other worlds with PortalMaterial.

RealityKit includes a few material types to help you get started, including SimpleMaterial for basic color and textures, and PhysicallyBasedMaterial for realistic lighting effects such as reflections, roughness, and emission.

Topics

Simple materials

Unlit materials

Realistic materials

Portals

Texture resources

Texture drawing

Shaders

Object occlusion

Video materials

Custom material types

Error types

Material types

See Also

Scene content