<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderContextStandalone/makeUnlitLightingFunction()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer31LowLevelRenderContextStandaloneC25makeUnlitLightingFunctionAA0dE16MaterialResourceC0kL0CyF"
  },
  "title" : "makeUnlitLightingFunction()"
}
-->

# makeUnlitLightingFunction()

Returns an unlit lighting function that emits the surface emissive color directly,
without any lighting calculations.

```
final func makeUnlitLightingFunction() -> sending LowLevelMaterialResource.LightingFunction
```

## Return Value

An unlit [`LowLevelMaterialResource.LightingFunction`](/documentation/RealityKit/LowLevelMaterialResource/LightingFunction).

---

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)