Contents

PhysicallyBasedMaterial.Specular

An object that defines the specular highlights of an entity.

Declaration

struct Specular

Overview

RealityKit automatically draws specular highlights for physically based materials, using the values of various properties, primarily roughness and metallic. Specular highlights are bright spots of reflected light that appear on shiny objects.

[Image]

Although many real-world objects can be accurately and realistically simulated with just the core physically based rendering (PBR) properties, you can create additional realistic effects by augmenting the specular highlights.

Use this object to specify the amount of specular for a PhysicallyBasedMaterial.

Topics

Creating a specular object

Accessing specular values

See Also

Realistic materials