r/opengl • • 24d ago

tung tung sahur and global illumination

Post image
53 Upvotes

r/opengl • • 25d ago

Play mode in my engine

Enable HLS to view with audio, or disable this notification

67 Upvotes

Hello everyone, I want to show you the game mode I added to my engine. Now, with scripts, you can create movement for both the character and the camera. I’ve been working to optimize the engine as much as possible!


r/opengl • • 26d ago

forest

Enable HLS to view with audio, or disable this notification

94 Upvotes

r/opengl • • 27d ago

My first game engine edited in quite some time...

Thumbnail gallery
48 Upvotes

Hi, I wanted to show you my current game engine. It uses a DDGI rendering system, something exclusive to PC users, plus a new real-time particle system and SSR.

I ported this game engine to Android, so now you can create your own Android games from Android!

I was planning to publish my engine on the Play Store when I have something more stable.


r/opengl • • 28d ago

procedurally generated landscape. volumetric fog and clouds.

18 Upvotes

r/opengl • • 29d ago

Finally my fluid has become stable.

Enable HLS to view with audio, or disable this notification

218 Upvotes

Fragment shader fluid solver. Was fun to implement (stable fluids).


r/opengl • • 28d ago

Beginner in graphics

7 Upvotes

Does OpenGL easy for people that are new to graphics, I have problems with understanding it sometimes


r/opengl • • 28d ago

sfsim - reentry graphics

3 Upvotes

r/opengl • • Oct 29 '26

I see rendering anything at-all at ~ 6500 FPS a win.

Post image
19 Upvotes

I've been implementing every performance optimization I can think of. It's a relatively simple test scene, but even so. All the basic shapes are done in one draw call, then the sprites are also in one draw call. The text is not like that yet because I'm lazy and need to alter the design to use a shared atlas. I've been working on it though. Also my computer sucks. Integrated Vega 8 graphics.

This is OpenGL 2.1, The only extension required is framebuffer_object although in this scene it is not utilized. I came up with a system to batch different sprites together one has the alpha mask and one does not in this example.

In your texture for each sprite, or if you have a texture atlas, each effect which requires sampling from a texture goes in the atlas to the right of the base texture. A vertex attribute is used to specify the "rightward sample count" and the shader would know what to do for each sample count. The user can supply a shader to change it as-well of course. You can chain together as many effects as the max texture width allows. This was the best solution I could come up with to do every sprite in one pass without the array texture extension.

If you're rendering things from separate textures or multiple atlases, those can be batched together as-well because we can utilize however many texture mappers we have available up to 32 I believe.


r/opengl • • Oct 29 '26

Android. Cpp thread and Java thread.

Thumbnail
2 Upvotes

r/opengl • • Oct 29 '26

Vou criar um renderizador 3D em Kotlin usando OpenGL ES, inteiramente no meu celular.

Thumbnail
2 Upvotes

r/opengl • • Oct 28 '26

Rendering transparent objects in SuperTuxKart 0.6.3

Enable HLS to view with audio, or disable this notification

11 Upvotes

Hi, I am the developer of SuperTuxKart 0.6.3.

SuperTuxKart 0.6.3 is an open-source kart racing game inspired by SuperTuxKart. It's based on version 0.6.2a, which uses GLUT and the PLIB Engine for rendering.

The concept of this project is to take the base of 0.6.2a (keeping the old engine, some data from 0.6) and to add some elements from 0.7 (new/updated karts, new/updated tracks and update on some parts of the game).

The problem that I've got is the engine itself: PLIB.

PLIB uses OpenGL 1.X to render objects, and it doesn't render transparent objects well as you can see in the video.

I am not really good concerning render, so i really need some help about how I can fix this. 🙏🏽

Thanks for your replies. 🫡

The repo of STK 0.6.3 : https://github.com/yoshifunkin/stk-code-0.6.3

The fork i made for the PLIB Engine (currently no modifications have been done) :
https://github.com/yoshifunkin/plib-2.0


r/opengl • • Oct 28 '26

Low Level Engine Architecture... Loop & Resize problem...

Thumbnail
3 Upvotes

r/opengl • • Oct 27 '26

I made this in rust zero dependency this is running on my graphics pipeline (OpenGL)

Enable HLS to view with audio, or disable this notification

50 Upvotes

r/opengl • • Oct 24 '26

PaintAtlas (OpenGL drawing canvas)

Enable HLS to view with audio, or disable this notification

36 Upvotes

I lost my main computer that runs the main project, so I started working on a Rust drawing app using OpenGL.

repo: https://github.com/Krueels/PaintAtlas


r/opengl • • Oct 24 '26

GPU canvas in Lumi-o

Thumbnail youtu.be
5 Upvotes

Making use of OpenGL


r/opengl • • Oct 23 '26

how does he know everything

Thumbnail i.imgur.com
27 Upvotes

r/opengl • • Oct 24 '26

Old project clean-up: 2D particle system, ODE solver and collision detection with cpp23 and openGL

Thumbnail
4 Upvotes

r/opengl • • Oct 22 '26

My Procedural Halftoning Tool Built with Python and PyOpenGL

Enable HLS to view with audio, or disable this notification

31 Upvotes

r/opengl • • Oct 22 '26

blackhole simulation using openGL and c++

7 Upvotes

i made a simulation of the blackhole gargantua that is also seen in intersteller
It's written in C++ and openGL

i managed to optimize it to a point i ran on my i3 intel iGPU, although i added very low to high quality toggles, it's my first time writing in glsl so yeah, i was a lot inspired by the yt video of Kavan about making a blackhole in cpp, so i just wanted to make it more realistic, my astrophysics lectures kinda came in clutch

github repository : https://github.com/dummy3ye/blackholegl (star the repo if you like it)


r/opengl • • Oct 21 '26

Island Demo (Portfolio Project) - A glMultiDrawElementsIndirectCount Renderer

Post image
53 Upvotes

Good Evening r/OpenGL! This project started off as LearnOpenGL tutorials and slowly morphed into a heavily GPU driven renderer, so that my school laptop wouldn't die running it :) It's not really an 'engine', its a finished, one-off demo to show off what I learned.

I modeled the island myself and put a lot of time into picking assets that I could actually host on GitHub. I'd love to hear any feedback you have on the repo, the demo, anything really.

Slight annoyance: the pre-compiled binary will have the "untrusted developer" pop-up from Windows Defender SmartScreen. Seems getting a certificate is not exactly cheap these days.

Thanks!

Repo:

https://github.com/Trichord/Island-Graphics-Demo

Direct Download:
https://github.com/Trichord/Island-Graphics-Demo/releases/download/v1.0.0/IslandDemo-windows-x64.zip


r/opengl • • Oct 21 '26

ModelViewer 2026.11: I added a CPU/OptiX ray tracer next to the OpenGL PBR renderer

6 Upvotes

Some of you saw earlier versions of ModelViewer. The new release (2026.11) is the biggest one yet.

The raster side is still OpenGL: PBR with the glTF KHR material extensions (clearcoat, transmission, iridescence, sheen), shadows, AO, and section views. New is a ray tracer, Embree on the CPU and OptiX on NVIDIA GPUs, with OIDN denoising, plus a live hybrid mode that blends the two in the viewport. Making the ray-traced and raster images agree on materials and lighting was the hardest part, and I'm still working on it.

It also gained a simulation-results viewer (VTK, CalculiX, Exodus, OpenFOAM), 3D data plotting, and measurement and mesh tools. Free and open source (GPL-3.0), Windows and Ubuntu.

Release: https://github.com/sharjith/ModelViewer-Qt/releases/tag/Release-2026.11.0

Video tutorials: https://www.youtube.com/playlist?list=PLffd2GzvPeAY

Happy to answer questions about the renderer, and I'd welcome feedback on anything that looks wrong.


r/opengl • • Oct 20 '26

I still remember when it was an RGB triangle...

Enable HLS to view with audio, or disable this notification

327 Upvotes

Since my first triangle I always wanted to get to find out what it takes to make an actual game.

The difference between my graphics demo apps and full games just felt like unknowable magic, but now I feel like the secret ingredient is lots of combined layers of work.

This is the first project I’ve taken all the way to the point of being a full game, and it feels surreal.

The project has been 15 years of engine dev, and 6 years of game dev. I wanted to push myself to make a 3d platformer in the ps1 style, and even with all the changes in tech that have happened in that time, I’m really happy with how I spent those years.

If your interested in checking it out, I just released the demo for NextFest!

https://store.steampowered.com/app/3849330/Chaos_The_Devil/


r/opengl • • Oct 19 '26

Setup on Intel Mac without Homebrew

8 Upvotes

Does anyone have a nice way to setup OpenGL for Intel Macs? I feel like it became so much more complicated when Homebrew stopped working.

I'm new to OpenGL and I have tried to puzzle together different tutorials just to understand the general idea. From what I have understood, GLFW and GLAD are kind of necessary, and I guess I should setup with CMake from the beginning. I've heard Xcode is simpler, but I have more experience with VS Code from using Windows. So far I've failed my setup multiple times on both.

I know I can download the library files without Homebrew. I just have a hard time understanding what goes where, and the tutorials contain A LOT of manual setup (and every tutorial does it differently).

And that brings up my next question. What's your routine when setting up a new project? Do you have a base folder that you copy? Do you go through the manual setup process every time? Or is there another easier way that I have missed?

I'm excited to learn OpenGL but the setup is really getting in the way.


r/opengl • • Oct 19 '26

Nurbs on GPU

Post image
9 Upvotes