<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKFogMode/exp",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@E@GLKFogMode@GLKFogModeExp"
  },
  "title" : "GLKFogMode.exp"
}
-->

# GLKFogMode.exp

The fog component is calculated as `exp(-density * distance)` and clamped to the range `[0.0, 1.0]`.

```
case exp
```

---

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)