Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 595 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 595 Bytes

MetalRaytracing

Raytracing sample app writting in Swift using Metal's newest raytracing APIs. Runs on macOS

Currently working on

  • Multiple light types (arealight, spotlight, sun, etc.)
  • More advanced materials (starting with refraction)
  • Sorting of metal functions to reduce divergence of threads in shaders (not a a real performance bottleneck yet)

Screenshots

alt text

License

This library is released under the MIT license. See LICENSE for details.