C OpenGL

Open-source C projects categorized as OpenGL

Top 23 C OpenGL Projects

  1. raylib

    A simple and easy-to-use library to enjoy videogames programming

    Project mention: GNU Make Standard Library | news.ycombinator.com | 2025-02-05

    I don’t have a review, but here’s a significant project using it in a complicated cross platform build with different systems dependencies: https://github.com/raysan5/raylib/blob/master/build.zig

    They also have a cmakelists.txt to compare against.

    One of the nicer things is that if you’re working with less technical folks, they only need to download the zig binary because it bundles the entire toolchain.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. GLFW

    A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

    Project mention: Starting Up The Engine - Nikola Game Engine Devlog 1 | dev.to | 2025-02-28

    As I discussed in my previous devlog, I decided to go with glfw for handling the window creation for this engine. It is a library I used a ton before. And while I do fancy replacing it later, it will suffice for now.

  4. Craft

    A simple Minecraft clone written in C using modern OpenGL (shaders).

    Project mention: Craft: A simple Minecraft clone written in C | news.ycombinator.com | 2025-02-05
  5. MangoHud

    A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb

    Project mention: MangoHud | news.ycombinator.com | 2025-01-13
  6. cute_headers

    Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

    Project mention: Collection of one-file C/C++ libraries with no dependencies, primarily for games | news.ycombinator.com | 2025-02-08

    Since you left this "optimize me" comment here:

    https://github.com/RandyGaul/cute_headers/blob/755849fc2819d...

    See an optimized quaternion multiplication implementation in SSE by me here:

    https://stackoverflow.com/questions/18542894/how-to-multiply...

  7. glad

    Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.

  8. Remotery

    Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. glew

    The OpenGL Extension Wrangler Library

  11. permafrost-engine

    An OpenGL RTS game engine written in C

  12. cnc-ddraw

    GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows ME, 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines

  13. cglm

    📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

  14. Allegro

    The official Allegro 5 git repository. Pull requests welcome!

  15. GCanvas

    A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎) https://alibaba.github.io/GCanvas

  16. herebedragons

    A basic 3D scene implemented with various engines, frameworks or APIs.

  17. freetype-gl

    OpenGL text using one vertex buffer, one texture and FreeType

  18. swayfx

    SwayFX: Sway, but with eye candy!

    Project mention: scenefx: a drop-in replacement for the wlroots scene API | news.ycombinator.com | 2024-08-01
  19. glfw

    Go bindings for GLFW 3 (by go-gl)

  20. mlt

    MLT Multimedia Framework

    Project mention: Video is a language for making movies | news.ycombinator.com | 2024-07-30

    Author of videolang:

    Avisynth+ is awesome.

    Interestingly enough, the first version of video was actually built on top of libmlt: https://www.mltframework.org/

    I was just dissatisfied with it due to its lack of functions. I can't remember why I didn't just use avisynth as it does actually have functions.

  21. space-shooter.c

    A cross-platform, top-down 2D space shooter written in C using only platform libraries.

  22. taisei

    A free and open-source Touhou Project fangame

  23. Quake3e

    Improved Quake III Arena engine

    Project mention: Quake3e: Fast, secure and cross-platform Quake 3 client | news.ycombinator.com | 2025-02-14
  24. glava

    GLava - OpenGL audio spectrum visualizer

  25. gl

    Go bindings for OpenGL (generated via glow)

  26. SaaSHub

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

    SaaSHub logo
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 OpenGL discussion

Log in or Post with

C OpenGL related posts

  • Starting Up The Engine - Nikola Game Engine Devlog 1

    3 projects | dev.to | 28 Feb 2025
  • Quake3e: Fast, secure and cross-platform Quake 3 client

    1 project | news.ycombinator.com | 14 Feb 2025
  • Craft: A simple Minecraft clone written in C

    1 project | news.ycombinator.com | 5 Feb 2025
  • Large Collection of Interactive(WASM) Creative Coding Demos C99 OpenGL/WebGL

    1 project | news.ycombinator.com | 2 Feb 2025
  • MangoHud

    1 project | news.ycombinator.com | 13 Jan 2025
  • The Failures Of API Design

    4 projects | dev.to | 4 Oct 2024
  • RGFW Under the Hood: X11 Drag 'n Drop

    1 project | dev.to | 2 Sep 2024
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 30 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

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

# Project Stars
1 raylib 26,027
2 GLFW 13,716
3 Craft 10,612
4 MangoHud 7,076
5 cute_headers 4,618
6 glad 4,021
7 Remotery 3,208
8 glew 2,744
9 permafrost-engine 2,683
10 cnc-ddraw 2,557
11 cglm 2,502
12 Allegro 1,950
13 GCanvas 1,901
14 herebedragons 1,738
15 freetype-gl 1,695
16 swayfx 1,660
17 glfw 1,617
18 mlt 1,570
19 space-shooter.c 1,353
20 taisei 1,320
21 Quake3e 1,297
22 glava 1,196
23 gl 1,146

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C is
the 6th most popular programming language
based on number of references?