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

# gamma

The amount of gamma correction to apply during tone mapping.

## Declaration

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

## Discussion

Discussion To render a sky texture, Model I/O first simulates the colors visible in the sky at different directions and then applies tone mapping to fit the resulting colors into the range of displayable values. As part of this process, Model I/O applies this property to the gamma curve of the texture image.

## See Also

### Working with Tone Mapping Parameters

- [exposure](modelio/mdlskycubetexture/exposure.md)
- [brightness](modelio/mdlskycubetexture/brightness.md)
- [contrast](modelio/mdlskycubetexture/contrast.md)
- [saturation](modelio/mdlskycubetexture/saturation.md)
- [highDynamicRangeCompression](modelio/mdlskycubetexture/highdynamicrangecompression.md)
