---
title: GLKFogMode.exp2
framework: GLKit
role: symbol
role_heading: Case
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkfogmode/exp2
---

# GLKFogMode.exp2

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

## Declaration

```swift
case exp2
```

## See Also

### Constants

- [GLKFogMode.exp](glkit/glkfogmode/exp.md)
- [GLKFogMode.linear](glkit/glkfogmode/linear.md)
