---
title: isColorDitheringEnabled
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/iscolorditheringenabled
---

# isColorDitheringEnabled

Whether to dither color values before writing to the frame buffer.

## Declaration

```swift
var isColorDitheringEnabled: Bool
```

## Discussion

Discussion Enable this to reduce color banding artifacts on gradients.

## See Also

### Configuring rendering

- [lightingModel](realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/lightingmodel.md)
- [blendMode](realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/blendmode.md)
