<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARWorldTrackingConfiguration/wantsHDREnvironmentTextures",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARWorldTrackingConfiguration(py)wantsHDREnvironmentTextures"
  },
  "title" : "wantsHDREnvironmentTextures"
}
-->

# wantsHDREnvironmentTextures

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

```
var wantsHDREnvironmentTextures: Bool { get set }
```

## Discussion

If you set [`environmentTexturing`](/documentation/ARKit/ARWorldTrackingConfiguration/environmentTexturing-swift.property) to `.automatic` in iOS 12 or later, ARKit gives you environment textures you cast on your app’s virtual content to create realistic reflections. By default, the framework sets [`wantsHDREnvironmentTextures`](/documentation/ARKit/ARWorldTrackingConfiguration/wantsHDREnvironmentTextures) to <doc://com.apple.documentation/documentation/Swift/true>. When your renderer supports HDR environment textures in iOS 13, it enables your lighting engine to output more colors, with a more realistic result.

![Screenshot showing low and high dynamic range environment textures in a side by side comparison.](images/com.apple.arkit/media-3231020@2x.png)

Both <doc://com.apple.documentation/documentation/RealityKit/ARView> and [`ARSCNView`](/documentation/ARKit/ARSCNView) support HDR environment textures. For more information, see [Adding realistic reflections to an AR experience](/documentation/ARKit/adding-realistic-reflections-to-an-ar-experience).

For a Metal app that doesn’t yet support HDR environment textures, you can use the following code to receive LDR environment textures until you’re ready to update your renderer for HDR.

```swift
if #available(iOS 13, *) { 
    configuration.wantsHDREnvironmentTextures = false
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)