C++ Hlsl

Open-source C++ projects categorized as Hlsl

Top 20 C++ Hlsl Projects

  1. 3d-game-shaders-for-beginners

    🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. slang

    Making it easier to work with shaders

  4. reshade

    A generic post-processing injector for games and video software.

  5. SHADERed

    Lightweight, cross-platform & full-featured shader IDE

  6. DirectXShaderCompiler

    This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.

    Project mention: We Built the First Pure Go DXIL Generator — Because Optimizing the Wrong Path Wasn't Enough | dev.to | 2026-04-05

    We spent weeks studying the DXIL format specifically. Reading the DXIL spec, the LLVM 3.7 bitcode reference, Mesa's implementation, Microsoft's DXC headers, the validator hash proposal. We wrote a detailed architecture document comparing four implementation options. We mapped every dx.op opcode we'd need for vertex and fragment shaders. We designed the package structure, the phased rollout plan, the testing strategy.

  7. glslang

    Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.

  8. shaderc

    A collection of tools, libraries, and tests for Vulkan shader compilation.

  9. ImGuiColorTextEdit

    Colorizing text editor for ImGui

  10. Bonzomatic

    Live shader coding tool and Shader Showdown workhorse

    Project mention: Shaders: How to draw high fidelity graphics with just x and y coordinates | news.ycombinator.com | 2025-11-23

    There's also bonzomatic which the demo scene uses for shader programming live coding competitions:

    https://github.com/Gargaj/Bonzomatic

  11. hlslpp

    Math library using HLSL syntax with multiplatform SIMD support

  12. MethaneKit

    🎲 Modern 3D graphics made simple with C++20 cross-platform framework and rendering abstraction API on top of DirectX 12, Vulkan & Metal

  13. ZetaRay

    Real-time Direct3D 12 path tracer

  14. GPUPrefixSums

    A nearly complete collection of prefix sum algorithms implemented in CUDA, D3D12, Unity and WGPU. Theoretically portable to all wave/warp/subgroup sizes.

    Project mention: Prefix sum: 20 GB/s (2.6x baseline) | news.ycombinator.com | 2025-10-14

    Lol do you think "PTX programming" is some kind of secret source of perf? It's just inline asm. Sometimes it's necessary but most of the time "CUDA is all you need":

    https://github.com/b0nes164/GPUPrefixSums

  15. Ghurund

    My DirectX 12 playground - an engine and a bunch of tools and samples.

  16. Render Engine Infrastructure (REI)

    REI is a cross-platform rendering framework and a comprehensive graphics API. Adaptable to various platforms, including PC, consoles, and mobile. It simplifies porting, especially for games developed on custom or proprietary engines. Functions as a cross-platform API as well as a helper library for platform-specific API. (by Room-8-Group-LTD)

  17. YOLOv4-Tiny-in-UnityCG-HLSL

    A modern object detector inside fragment shaders

  18. PBR-renderer

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

  19. HLML

    Auto-generated maths library for C and C++ based on HLSL/Cg

  20. ShaderPiPFX

    HLSL live player. Compile and play your HLSL shader automatically.

  21. NFSC_CustomVT

    A decompiled and enhanced Visual Treatment and screen effects shader for NFS Carbon.

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).

C++ Hlsl discussion

Log in or Post with

C++ Hlsl related posts

Index

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

# Project Stars
1 3d-game-shaders-for-beginners 19,705
2 slang 5,429
3 reshade 5,296
4 SHADERed 4,764
5 DirectXShaderCompiler 3,608
6 glslang 3,549
7 shaderc 2,165
8 ImGuiColorTextEdit 1,716
9 Bonzomatic 1,492
10 hlslpp 1,126
11 MethaneKit 967
12 ZetaRay 386
13 GPUPrefixSums 290
14 Ghurund 95
15 Render Engine Infrastructure (REI) 71
16 YOLOv4-Tiny-in-UnityCG-HLSL 64
17 PBR-renderer 37
18 HLML 25
19 ShaderPiPFX 12
20 NFSC_CustomVT 7

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com