Skip to content

A minimal example of rendering an immersive spatial experience with Metal, ARKit, and visionOS Compositing Services

License

Notifications You must be signed in to change notification settings

metal-by-example/metal-spatial-rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Immersive Spatial Rendering with Metal in visionOS

This sample is a minimal example of rendering a immersive spatial experience with Metal, ARKit, and visionOS Compositing Services.

Example screenshot of spatial rendering

When running on the Simulator, the app uses the .dedicated layout. When running on an Apple Vision Pro, the app uses the .layered layout along with Metal vertex amplification to efficiently render both stereo views in a single pass.

When running on a visionOS 2 simulator or device, the app enables the mixed immersion style and enables the user to progressively select how much of the real world is visible via passthrough.

About

A minimal example of rendering an immersive spatial experience with Metal, ARKit, and visionOS Compositing Services

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •