---
title: specularModel
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/litlightingmodel/specularmodel-swift.property
---

# specularModel

The specular algorithm to use.

## Declaration

```swift
var specularModel: LitLightingModel.SpecularModel
```

## See Also

### Configuring shading models

- [diffuseModel](realitykit/litlightingmodel/diffusemodel-swift.property.md)
- [LitLightingModel.DiffuseModel](realitykit/litlightingmodel/diffusemodel-swift.enum.md)
- [LitLightingModel.SpecularModel](realitykit/litlightingmodel/specularmodel-swift.enum.md)
