sebh / Dx11Base

A small dx11 base program I use to test shaders and techniques

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dx11Base

dx11appscreenshot

A small DirectX 11 program I use to test shaders and techniques (windows only). It is meant to be simple and straightforward. Nothing fancy to see here: plenty of engines already exist out there.

Features are

  • Simple class helpers above DirectX 11.X functions
  • Live update of shaders with saving via ctrl+s
  • UI achieved with Dear ImGui
  • Performance measured with GPU timers and reported in UI (tested on intel and nvidia so far)
  • Simple window and input management (could be improved)
  • Works well with RenderDoc

When cloning the project the first time:

  1. Update submodules (run git submodule update)
  2. Open the solution
  3. In Visual Studio, change the Application project Working Directory from $(ProjectDir) to $(SolutionDir)
  4. Make sure you select a windows SDK and a platform toolset you have locally on your computer for both projects
  5. Select Application as the startup project, hit F5

Submodules

Have fun and do not hesitate to send back suggestions.

Seb

About

A small dx11 base program I use to test shaders and techniques

License:MIT License


Languages

Language:C++ 98.0%Language:HLSL 2.0%