C++ Shaders

Open-source C++ projects categorized as Shaders

Top 23 C++ Shader Projects

  • tinyrenderer

    A brief computer graphics / rendering course

    Project mention: From scratch OpenGL and shaders with raw Xlib | news.ycombinator.com | 2024-03-30

    I don’t think that exists (I sure would like for it to), but until it does you could amuse yourself with:

    - A 500-line (non-OpenGL-compatible) 3D rasterizer: https://github.com/ssloy/tinyrenderer/wiki.

    - A “hello Wayland” app written in C without libwayland or anything else: https://gaultier.github.io/blog/wayland_from_scratch.html.

    - A “hello X11” app written in x86-64 assembly(!) without libX11, libxcb, or anything else: https://gaultier.github.io/blog/x11_x64.html.

  • 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: The Book of Shaders | news.ycombinator.com | 2024-01-09

    This is a great series if you’re looking for a tutorial. https://lettier.github.io/3d-game-shaders-for-beginners/inde...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • tinyraytracer

    A brief computer graphics / rendering course

    Project mention: But can it raytrace? | /r/termux | 2023-10-16

    Source: https://github.com/ssloy/tinyraytracer

  • glslViewer

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

  • The-Forge

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

    Project mention: WebKit Switching to Skia for 2D Graphics Rendering | news.ycombinator.com | 2024-02-20
  • SHADERed

    Lightweight, cross-platform & full-featured shader IDE

    Project mention: Confused in terms of where to start with framework/technology etc. Need help picking between learning ShaderToy v/s OpenGL v/s WebGL | /r/GraphicsProgramming | 2023-06-20

    If you specifically want to learn shader programming then https://shadered.org/ is a lot more practical than Shadertoy.

  • reshade

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

    Project mention: Jagged edges on everything, regardless of AA settings | /r/EliteDangerous | 2023-12-11

    If you are interested in making it look even better, then installing ReShade and adding FSAA there also makes a huge improvement over the best settings in game.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • tinykaboom

    A brief computer graphics / rendering course

  • OpenShadingLanguage

    Advanced shading language for production GI renderers

  • slang

    Making it easier to work with shaders

  • DirectXTK12

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

  • HybridRenderingEngine

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

    Project mention: Why Are Modern PC Games Using So Much VRAM? | /r/hardware | 2023-05-04

    Aside from that, for more foundational information about how things like rendering and shaders work, there's a plethora of content out there such as NVIDIA's "Life of a Triangle" blog post or Fabien Giesen's "A trip through the Graphics Pipeline" blog post. There's really too much to link, so I'm just gonna link this treasure trove of resources covering dozens upon dozens of articles, presentations and blog posts from general computer graphics, GPU programming and architecture, software development, OpenGL-specific resources for getting into graphics programming, etc.

  • TinyEngine

    Tiny OpenGL Wrapper / 3D Engine in C++

  • slop

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

    Project mention: selx - A Minimal X11 selection tool | /r/suckless | 2023-10-23

    Since selx is meant to be minimal, it doesn't support some of the fancy stuff such as slop's custom opengl shaders etc.

  • ShaderGlass

    Overlay for running GPU shaders on top of Windows desktop

    Project mention: Tutorial for ShaderGlass | /r/ReShade | 2023-07-30
  • NazaraEngine

    Nazara Engine is a cross-platform framework aimed at (but not limited to) real-time applications requiring audio, 2D and 3D real-time rendering, network and more.

  • SoftwareRenderer

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

  • Yave

    Yet Another Vulkan Engine

    Project mention: Abstraction arround CommandBuffers and Queues | /r/vulkan | 2023-12-11


  • hlslpp

    Math library using hlsl syntax with SSE/NEON support

  • Cluster

    Clustered shading implementation with bgfx (by pezcode)

  • ISF4AE

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

  • Reshade-Unlocked

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

  • CroissantVulkanRenderer

    Real-Time Vulkan Renderer with features like PBR, IBL, and more.

  • SaaSHub

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

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 2024-03-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 19,267
2 3d-game-shaders-for-beginners 16,958
3 tinyraytracer 4,878
4 glslViewer 4,445
5 The-Forge 4,407
6 SHADERed 4,174
7 reshade 3,764
8 tinykaboom 2,309
9 OpenShadingLanguage 2,016
10 slang 1,626
11 DirectXTK12 1,391
12 HybridRenderingEngine 1,064
13 TinyEngine 952
14 slop 839
15 ShaderGlass 805
16 NazaraEngine 657
17 SoftwareRenderer 583
18 Yave 465
19 hlslpp 449
20 Cluster 395
21 ISF4AE 220
22 Reshade-Unlocked 99
23 CroissantVulkanRenderer 58
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives