/DXPlayground

Learning and exploring DX11. Simple implementation of Spherical Harmonics lighting.

Primary LanguageC++The UnlicenseUnlicense

My little DX11 Playground

For one of the university courses I was working on a HoloLens 2 project, for which I was given a source code for an UWP application built with OpenXR and DirectX 11. However, I hardly understood what most of the code did, as I had had no prior experience with those technologies.

For that reason I created this little project to learn the basics, step by step:

  • Build the basic example following the official tutorial,
  • Add ImGui and rewrite the code to be more modular
  • Add loading and transforming custom 3D models
  • Add support for different shaders per model
  • Add loading custom cubemaps (skyboxes) and allow for switching between them at runtime
  • Understand and implement Spherical Harmonics Lighting using Robin's Green Spherical Harmonics Lighting: The gritty detail as the main source

This allowed me to build a good enough understanding of DX11 to complete the original project, SHARCC.

Example