Playground where I mess around with Metal on iOS and macOS.
(Screenshot taken Tue 20th January 2026)
- Cook-Torrance BRDF, PBR workflow
- Deferred shading
- Clustered light culling
- GPU driven rendering and culling
- Raytraced sun shadows
- Cascaded shadow mapping
- HDR rendering and environment mapping
- Works on iOS and macOS
- Reflections (screen space hi-z traced + raytraced)
- iOS 16.0+
- macOS 15.0+
- KTX Texture Tools (for ASTC compression)
Before you build, you need to compress every asset with scripts/compress_assets.sh
iOS: scripts/build_ios_simulator.sh
macOS: scripts/build.sh