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

# GLKFogMode.linear

The fog component is calculated as (end - distance) / (end - start) and clamped to the range [0.0, 1.0].

## Declaration

```swift
case linear
```

## See Also

### Constants

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