<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LitLightingModel",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation16LitLightingModelV"
  },
  "title" : "LitLightingModel"
}
-->

# LitLightingModel

Configuration for RealityKit’s physically based lighting model.

```
struct LitLightingModel
```

## Topics

### Configuring shading models

[`var diffuseModel: LitLightingModel.DiffuseModel`](/documentation/RealityKit/LitLightingModel/diffuseModel-swift.property)

The diffuse algorithm to use.

[`enum DiffuseModel`](/documentation/RealityKit/LitLightingModel/DiffuseModel-swift.enum)

The diffuse lighting algorithm used in a [`LitLightingModel`](/documentation/RealityKit/LitLightingModel).

[`var specularModel: LitLightingModel.SpecularModel`](/documentation/RealityKit/LitLightingModel/specularModel-swift.property)

The specular algorithm to use.

[`enum SpecularModel`](/documentation/RealityKit/LitLightingModel/SpecularModel-swift.enum)

The specular lighting algorithm used in a [`LitLightingModel`](/documentation/RealityKit/LitLightingModel).

### Enabling lighting features

[`var isSubsurfaceScatteringEnabled: Bool`](/documentation/RealityKit/LitLightingModel/isSubsurfaceScatteringEnabled)

Whether to include subsurface scattering in the lighting calculation.

[`var isClearcoatEnabled: Bool`](/documentation/RealityKit/LitLightingModel/isClearcoatEnabled)

Whether to include a clearcoat layer in the lighting calculation.

[`var isMultiscatteringEnabled: Bool`](/documentation/RealityKit/LitLightingModel/isMultiscatteringEnabled)

Whether to account for multiple scattering between microfacets.

[`var isBentNormalEnabled: Bool`](/documentation/RealityKit/LitLightingModel/isBentNormalEnabled)

Whether to apply bent normal maps to improve ambient occlusion accuracy.

### Initializers

[`init()`](/documentation/RealityKit/LitLightingModel/init())

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)