---
title: turbidity
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlskycubetexture/turbidity
---

# turbidity

The cloudiness or haziness of the simulated sky.

## Declaration

```swift
var turbidity: Float { get set }
```

## Discussion

Discussion A value of 0.0 simulates a clear sky—that is, the sun has little effect on the color of the sky around it. Values closer to 1.0 simulate increasing amounts of dust and moisture in the sky, causing the sun’s color to spread across the atmosphere.

## See Also

### Working with Sky Simulation Parameters

- [sunElevation](modelio/mdlskycubetexture/sunelevation.md)
- [upperAtmosphereScattering](modelio/mdlskycubetexture/upperatmospherescattering.md)
- [groundAlbedo](modelio/mdlskycubetexture/groundalbedo.md)
- [groundColor](modelio/mdlskycubetexture/groundcolor.md)
- [horizonElevation](modelio/mdlskycubetexture/horizonelevation.md)
