Skip to content

AmelieHeinrich/Playground

Repository files navigation

Metal Playground

Playground where I mess around with Metal on iOS and macOS.

(Screenshot taken Tue 20th January 2026)

Features

  • 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

WIP

  • Reflections (screen space hi-z traced + raytraced)

Requirements

  • iOS 16.0+
  • macOS 15.0+
  • KTX Texture Tools (for ASTC compression)

Building and running

Before you build, you need to compress every asset with scripts/compress_assets.sh

iOS: scripts/build_ios_simulator.sh macOS: scripts/build.sh

About

Metal playground

Topics

Resources

Stars

Watchers

Forks

Contributors