Instance Property

wantsHDREnvironmentTextures

A flag that instructs ARKit to create environment textures in HDR format.

Declaration

var wantsHDREnvironmentTextures: Bool { get set }

Discussion

The default value is true. If your renderer supports HDR environment textures, this feature effects more realistic reflections.

Screenshot showing low and high dynamic range environment textures in a side by side comparison.

RealityKit and SceneKit both support HDR environment textures. For more information, see Adding Realistic Reflections to an AR Experience.

See Also

Adding Realistic Reflections

var environmentTexturing: ARWorldTrackingConfiguration.EnvironmentTexturing

The behavior ARKit uses for generating environment textures.