---
title: Rendering reflections in real time using ray tracing
framework: metal
role: sampleCode
role_heading: Sample Code
path: metal/rendering-reflections-in-real-time-using-ray-tracing
---

# Rendering reflections in real time using ray tracing

Implement realistic real-time lighting by dynamically generating reflection maps by encoding a ray-tracing compute pass.

## Overview

Overview This sample code project relates to multiple WWDC sessions, including: 10089: Bring your advanced games to Apple platforms 10101: Go bindless with Metal 3 10286: Explore bindless rendering in Metal 10150: Explore hybrid rendering with Metal ray tracing Configure the sample code project To run this sample app, you need the following: A Mac with macOS 13 or later, and Xcode 15.3 or later An iOS device with iOS 16 or later note: This sample doesn’t support running in Simulator.

## See Also

### Ray tracing

- [Accelerating ray tracing using Metal](metal/accelerating-ray-tracing-using-metal.md)
- [Control the ray tracing process using intersection queries](metal/control-the-ray-tracing-process-using-intersection-queries.md)
- [Accelerating ray tracing and motion blur using Metal](metal/accelerating-ray-tracing-and-motion-blur-using-metal.md)
- [Rendering a curve primitive in a ray tracing scene](metal/rendering-a-curve-primitive-in-a-ray-tracing-scene.md)
