Contents

CustomMaterial.Specular

An object that defines the specular highlights of an entity.

Declaration

struct Specular

Overview

In physically based rendering (PBR), specular highlights primarily come from the object’s roughness value. RealityKit renders materials that have a low roughness value with specular highlights based on the environment, lighting, and shape of the entity.

For more information on using specular values in a custom material, see specular.

Topics

Creating a specular object

Accessing specular values

See Also

Custom material types