C++ DirectX

Open-source C++ projects categorized as DirectX | Edit details

Top 23 C++ DirectX Projects

  • GitHub repo bgfx

    Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

    Project mention: BGFX DirectX11 "Failed to create vertex shader" over Windows 10x64, but works fine under Win7x86 with d3d9. | reddit.com/r/GraphicsProgramming | 2021-11-22

    You'll probably have more luck here: https://github.com/bkaradzic/bgfx/discussions

  • GitHub repo renderdoc

    RenderDoc is a stand-alone graphics debugging tool.

    Project mention: Renderdoc's GPU Selection on a laptop | reddit.com/r/vulkan | 2021-04-19

    Renderdoc works by inserting itself as a Vulkan layer, which means it can change the output of functions if it so chooses. As you can see in the RenderDoc version of vkEnumeratePhysicalDevices it changes how devices are returned, and this likely is the reason the order changes.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo The-Forge

    The Forge Cross-Platform Rendering Framework PC Windows, Linux, Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2

    Project mention: Why do they make their own engine? | reddit.com/r/gamedev | 2021-11-25

    Woah, apparently they used an open source rendering framework called The-Forge. I wonder if they switched their scripting tech (I think they used to have a proprietary language, but TheForge provides lua scripting).

  • GitHub repo Ogre 3D

    scene-oriented, flexible 3D engine (C++, Python, C#, Java)

    Project mention: Ogre 13.0.0 released! Open Source game engine. | reddit.com/r/linux_gaming | 2021-08-14
  • GitHub repo DirectXTK

    The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++

    Project mention: How do I get started with Frank Luna's DX11 book? | reddit.com/r/GraphicsProgramming | 2021-11-04
  • GitHub repo xray-16

    Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)

    Project mention: If software (OpenXRay-engine in this case) has a BSD-style license, does that automatically mean I can make derivative works (eg a new game, unrelated to S.T.A.L.K.E.R.) and sell them? | reddit.com/r/foss | 2021-11-28
  • GitHub repo DirectXTex

    DirectXTex texture processing library

    Project mention: Does Anyone Know a Tool That Can Mass Compress/Resize DDS Files? | reddit.com/r/gamedev | 2021-10-12

    I know only Nvidia texture tools exporter but it's not in masse sorry My suggestion is to create a python script that uses texconv.exe for every file in a directory, pretty easy to get

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo LLGL

    Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal

    Project mention: Writing game engines in c++, recommendations | reddit.com/r/learnprogramming | 2021-01-21
  • GitHub repo DirectXMath

    DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

    Project mention: Use of BLAS vs direct SIMD for linear algebra library operations? | reddit.com/r/cpp | 2021-08-28

    For graphics DX math is a very good library.

  • GitHub repo d912pxy

    DirectX9 to DirectX12 API proxy for Guild Wars 2

    Project mention: The DX11 just added years to the lifespan of GW2 | reddit.com/r/Guildwars2 | 2021-11-10
  • GitHub repo DirectXTK12

    The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++

    Project mention: Where can I learn directx 12 from? | reddit.com/r/directx | 2021-08-30

    DirectX Tool Kit for DirectX 12

  • GitHub repo dxwrapper

    Fixes compatibility issues with older games running on Windows 10 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.

    Project mention: I’ve just downloaded SimCity 4 for the first time, any tips ? | reddit.com/r/simcity4 | 2021-11-26

    Then leet hax for stable af SC4 with posibility of 4K res (going over 1080p fucks up map previews tho, but the graphix is worth it xD)https://github.com/elishacloud/dxwrapperin the ini enableEnableDdrawWrapper = 1DDrawCompat20 = 1

  • GitHub repo goverlay

    DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game

    Project mention: Can you have a chat overlay on top of an exclusive fullscreen game? | reddit.com/r/Twitch | 2021-03-02

    I also found this, but I'm unsure how to use it. It could potentially work though.

  • GitHub repo GOESP

    Cross-platform streamproof ESP hack for Counter-Strike: Global Offensive, written in modern C++. Rendering and GUI powered by Dear ImGui + FreeType.

    Project mention: Any good cheats with an anti obs. | reddit.com/r/Csgohacks | 2021-08-02

    GoESP gamesense (.pub | .is)

  • GitHub repo Rootex

    An advanced C++ 3D game engine powering an in-production game yet to be announced

    Project mention: Structure and Abstraction | reddit.com/r/GraphicsProgramming | 2021-01-02

    I myself was inspired by that and we had our own implementation of it in DirectX 11 in our game engine hobby project. See Rootex' RenderingDevice

  • GitHub repo SlimDX

    Automatically exported from code.google.com/p/slimdx

  • GitHub repo blitz3d-ng

    This project is an attempt to revive & modernize Blitz3D.

    Project mention: Game Maker now has a free tier instead of a 30 day trial | reddit.com/r/gamedev | 2021-07-01
  • GitHub repo PBR-renderer

    physically based renderer written in DX12 with image-based lighting, classic deffered and tiled lighting approaches

    Project mention: Anyone wanna team up and write a graphics engine in Vulkan together? | reddit.com/r/GraphicsProgramming | 2021-05-04

    I have a sandbox project where I has been playing with raw D3D12 api, you can see it on my GitHub https://github.com/laena-gif/PBR-renderer. I definitely want to participate 🙏🙏

  • GitHub repo d8vk

    Implementation of Direct3D 8 using D9VK and the DXVK backend.

    Project mention: DXVK Native 1.9.2a is out for translating Direct 3D 9 / 10 / 11 to Vulkan for Linux games | reddit.com/r/linux_gaming | 2021-10-22

    d8vk is in the works: https://github.com/AlpyneDreams/d8vk

  • GitHub repo DxCapsViewer

    DirectX Capabilities Viewer utility (dxcapsviewer.exe)

    Project mention: Cant launch Halo Infinite? | reddit.com/r/halo | 2021-11-18

    I just downloaded it from https://github.com/microsoft/DxCapsViewer/releases

  • GitHub repo Tempest

    3d graphics engine (by Try)

    Project mention: OpenGothc 2021 progress report | reddit.com/r/worldofgothic | 2021-11-07
  • GitHub repo SDLXX

    :space_invader: Modern C++ wrapper for Simple DirectMedia Layer (SDL2)

    Project mention: Im learning C++ and want to make a small game with it. What do you suggest me for graphics? | reddit.com/r/gamedev | 2021-11-20
  • GitHub repo GraphicsPlayground

    Sandbox for the graphics engine. Designed for easiest experimentation and demonstration of graphics algorithms.

    Project mention: On which hobby or side projects are you working on? | reddit.com/r/cpp | 2021-11-23

    Graphics Playground - C++ Library for playing with graphics and fast prototyping of graphics algorithms https://github.com/kymani37299/GraphicsPlayground ( minimize overhead maximize customizability idea)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-11-28.

C++ DirectX related posts


What are some of the best open-source DirectX projects in C++? This list will help you:

Project Stars
1 bgfx 10,141
2 renderdoc 5,912
3 The-Forge 2,669
4 Ogre 3D 2,542
5 DirectXTK 1,899
6 xray-16 1,776
7 DirectXTex 1,198
8 LLGL 1,187
9 DirectXMath 1,010
10 d912pxy 973
11 DirectXTK12 896
12 dxwrapper 563
13 goverlay 395
14 GOESP 284
15 Rootex 137
16 SlimDX 74
17 blitz3d-ng 52
18 PBR-renderer 31
19 d8vk 31
20 DxCapsViewer 23
21 Tempest 16
22 SDLXX 7
23 GraphicsPlayground 0
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives