# Lumen & Nanite on MacOS

**URL:** <https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411>\
**Category:** Rendering\
**Tags:** unreal-engine, Lumen, Lighting, Nanite\
**Created:** [March 20, 2022, 6:01pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411 "2022-03-20T18:01:52Z")\
**Posts on this page:** 1\
**Showing post:** 121

<div class="post-metadata">

**Author:** ![philipturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@philipturner](https://forums.unrealengine.com/u/philipturner)\
**Post date:** [August 3, 2023, 4:27am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/121 "2023-08-03T04:27:18Z")

</div>

Basically, finish what I was doing here: [GitHub - philipturner/ue5-nanite-macos: Nanite on macOS](https://github.com/philipturner/ue5-nanite-macos). I needed to replace some textures with buffers in the UE5 source code. Should be easy peasy for engine maintainers, but not myself because I’m not familiar with the code base. Hence why I personally couldn’t debug it in a reasonable amount of time, and gave up.

The rest is simply translating the Metal code [here](https://github.com/philipturner/ue5-nanite-macos/tree/main/AtomicsWorkaround) into HLSL and creating some Metal commands to deinterleave the two 32-bit halves into a full 64-bit word. Creating the Metal shader was the hardest part and that was done a year ago.

---

_[View the full topic](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411)._
