/Unity-SurfelGI

Primary LanguageHLSLMIT LicenseMIT

Unity - Surfel GI

This is the repository for the Unity implementation of my master thesis. It uses DXR raytracing for better performance. This unfortunately is only available on recent GPUs like Nvidia GTX 1000 series, Nvidia RTX series and AMD RX 6000 series .

Setting up DXR in a new project:

  • go to Edit/Project Settings/Player/Other and add DX 12 as the primary graphics API for Windows
  • go to Edit/Project Settings/Graphics and enable deferred rendering for all profiles

Additional setup for surfels:

  • add the mathematics package
  • open Edit/Project Settings/Script Execution Order and make sure your camera controller is executed before the DXRCamera script