C++ Shaders

Open-source C++ projects categorized as Shaders

Top 23 C++ Shader Projects

  • tinyrenderer

    A brief computer graphics / rendering course

    Project mention: Is Pico-8 good to 'have an understanding of how rendering and other things like CA is done in videogames' or should I just stick with a programming language? | reddit.com/r/pico8 | 2022-10-06

    I think this might be more fitting for you.

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

    Project mention: Where to find shader resources? | reddit.com/r/gamedev | 2022-03-10

    Book of Shaders 3D Game Shaders for Beginners Martin Donald Freya Holmer

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • tinyraytracer

    A brief computer graphics / rendering course

    Project mention: yep people like this exist | reddit.com/r/ProgrammerHumor | 2022-05-03

    For some reason, that reminded me of this.

  • glslViewer

    Console-based GLSL Sandbox for 2D/3D shaders

    Project mention: Fun with real-time manipulation of glsl (shader) files | reddit.com/r/proceduralgeneration | 2022-07-02

    I'm not an expert on glsl/shaders etc. but rather understand how to use Python to read values from hardware (ADC) and convert it to OSC, which, in turn, is passed on to glslViewer (https://github.com/patriciogonzalezvivo/glslViewer) ... it is glslViewer that does all the hard work of hot reloading .frag files as new uniform values are received.

  • SHADERed

    Lightweight, cross-platform & full-featured shader IDE

    Project mention: How to display a 2D array every frame | reddit.com/r/godot | 2022-06-25

    https://github.com/dfranx/SHADERed (useful tool for debugging shader code, has a bit more functionality than doing it in Godot directly)

  • The-Forge

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

    Project mention: API of Graphics APIs | reddit.com/r/gamedev | 2022-11-28

    We’re using The Forge (https://github.com/ConfettiFX/The-Forge) for this.

  • reshade

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

    Project mention: Nyx - Baruuk Prime Disguise | reddit.com/r/WarframeRunway | 2022-11-30

    I use ReShade. If you want to try it: https://reshade.me/

  • Sonar

    Free webinar: The Power of Clean C++. Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!

  • OpenShadingLanguage

    Advanced shading language for production GI renderers

    Project mention: Update on bevy_blender (releasing v0.2) and inquiry on the interest of a new OSL based render engine | reddit.com/r/bevy | 2022-04-19

    Useful Links: blender_bevy repo OSL repo and front page A nice YouTube video describing OSL

  • DirectXTK12

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

    Project mention: Reject support, return to Stack Overflow. - Microsoft | reddit.com/r/ProgrammerHumor | 2022-09-06

    Looks like that's from https://github.com/microsoft/DirectXTK12, an open-source DX12 tool kit

  • slang

    Making it easier to work with shaders

    Project mention: Why aren't there constantly more shading languages popping up all the time like other languages? | reddit.com/r/GraphicsProgramming | 2022-08-11
  • HybridRenderingEngine

    Clustered Forward/Deferred renderer with Physically Based Shading, Image Based Lighting and a whole lot of OpenGL.

    Project mention: Has anyone switched from web dev to graphics programming? | reddit.com/r/GraphicsProgramming | 2022-06-23
  • slop

    slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout. (by naelstrof)

  • TinyEngine

    Tiny OpenGL Wrapper / 3D Engine in C++

    Project mention: Simulating Wind on Procedural Terrain using GPU Accelerated Lattice Boltzmann Method [Article + Source] | reddit.com/r/proceduralgeneration | 2022-10-08

    You can find an article explaining how this works on my blog here and a terrain-based implementation here. For more detailed source code on the LBM method, check out the examples here.

  • SoftwareRenderer

    Software rendering engine with PBR. Built from scratch on C++.

    Project mention: How should I start learning graphics programming? | reddit.com/r/GraphicsProgramming | 2022-11-07
  • ShaderGlass

    Overlay for running GPU shaders on top of Windows desktop

    Project mention: Anyone have any programs that simulate a CRT TV? | reddit.com/r/gamedev | 2022-11-12
  • hlslpp

    Math library using hlsl syntax with SSE/NEON support

  • Yave

    Yet Another Vulkan Engine

  • Cluster

    Clustered shading implementation with bgfx (by pezcode)

  • ISF4AE

    After Effects Plug-in enabling to use GLSL written in ISF as an effect

    Project mention: Integrating GLSL Shaders With AE In 2022 | reddit.com/r/AfterEffects | 2022-04-15

    Hi, what's currently the best method to work with GLSL shaders in AfterEffects? I found those two projects which seem good but not super actively developed. Are they still good to use or are there any better alternatives by now?

  • Reshade-Unlocked

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

    Project mention: Depth buffer not working on neir automata | reddit.com/r/ReShade | 2022-09-26

    https://github.com/Not-Smelly-Garbage/Reshade-Unlocked/releases Modded reshade, have a try 🙂

  • YOLOv4-Tiny-in-UnityCG-HLSL

    A modern object detector inside fragment shaders

  • SolarSystem

    A solar system simulator with Verlet, using OpenGL for displaying.

    Project mention: Matrices in physics | reddit.com/r/AskPhysics | 2022-10-06

    I've got a lot of physics-related projects on GitHub, most of them use matrices, even if sometimes it's not obvious. For example, this one: https://github.com/aromanro/SolarSystem uses matrices for changing from one coordinate system to another, rotations and so on.

  • EventMolecularDynamics

    A program implementing event driven molecular dynamics for hard smooth spheres, using OpenGL for displaying

    Project mention: Pasionat de c++ | reddit.com/r/programare | 2022-06-03
  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

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 2022-11-30.

C++ Shaders related posts


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

Project Stars
1 tinyrenderer 15,357
2 3d-game-shaders-for-beginners 14,061
3 tinyraytracer 4,358
4 glslViewer 3,749
5 SHADERed 3,712
6 The-Forge 3,326
7 reshade 2,881
8 OpenShadingLanguage 1,772
9 DirectXTK12 1,092
10 slang 1,056
11 HybridRenderingEngine 874
12 slop 765
13 TinyEngine 699
14 SoftwareRenderer 476
15 ShaderGlass 389
16 hlslpp 352
17 Yave 345
18 Cluster 298
19 ISF4AE 172
20 Reshade-Unlocked 70
21 YOLOv4-Tiny-in-UnityCG-HLSL 46
22 SolarSystem 43
23 EventMolecularDynamics 15
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.