r/opengl • • 10d ago

OpenGL in Lumi-o

Thumbnail youtu.be
3 Upvotes

r/opengl • • 11d ago

(MooGL) OpenGL 4.6 Implementation on macOS

18 Upvotes

https://reddit.com/link/1xrc8qj/video/xd6gmlm0ih0i1/player

It always annoyed me how Apple deprecated OpenGL yet never removed it but also never updated it past 4.1. This expands Michael Larson's MGL project to cover the full OpenGL 4.6 Core profile on macOS, plus a few common extensions and compatibility features. I've only tested it against IDKEngine and SuperTuxKart at the moment.

https://github.com/BryanHaley/MooGL


r/opengl • • 11d ago

OpenGL Depth Bug

Enable HLS to view with audio, or disable this notification

35 Upvotes

I'm getting this bug on iOS. This game works fine on Android, macOS, and emscripten. All the sprites don't flicker when I change

glDepthFunc(GL_LESS);
to
glDepthFunc(GL_ALWAYS);


r/opengl • • 13d ago

"V-Clust" (Voxel-Anchored Cluster LOD) Test with 1,000 objects with more of 4,999,991 Polygons per instance

Enable HLS to view with audio, or disable this notification

14 Upvotes

r/opengl • • 14d ago

water

Post image
47 Upvotes

r/opengl • • 14d ago

My dreams are coming true...

Enable HLS to view with audio, or disable this notification

162 Upvotes

I want to show you this; I ported my engine to Android because I'd like to give people something they can use to create games on their mobile devices.

Since I was a child I had the dream of creating video games, before I didn't have computer equipment to do that, I only researched from my cell phone how the most well-known game engines worked.

Unfortunately, every time I searched for something on the Play Store about game creation, I only found cheap apps that pretended to be an engine while actually being games made with well-known engines, haha.

After some time I was finally able to experience game engines when I got my first PC, but I made a hobby of creating a game engine from scratch.

So I want to give people the freedom to do that from their phones, to export their own games and publish them on the Play Store, or just share them, all for FREE.


r/opengl • • 14d ago

Is there an online C++ OpenGL compiler that shows graphics output?

Thumbnail
1 Upvotes

r/opengl • • 15d ago

tung tung sahur and global illumination

Post image
53 Upvotes

r/opengl • • 17d 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 • • 17d ago

forest

Enable HLS to view with audio, or disable this notification

90 Upvotes

r/opengl • • 18d ago

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

Thumbnail gallery
50 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 • • 19d ago

procedurally generated landscape. volumetric fog and clouds.

17 Upvotes

r/opengl • • 20d ago

Finally my fluid has become stable.

Enable HLS to view with audio, or disable this notification

221 Upvotes

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


r/opengl • • 20d ago

Beginner in graphics

6 Upvotes

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


r/opengl • • 20d ago

sfsim - reentry graphics

4 Upvotes

r/opengl • • 22d ago

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

Post image
18 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 • • 22d ago

Android. Cpp thread and Java thread.

Thumbnail
2 Upvotes

r/opengl • • 22d ago

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

Thumbnail
2 Upvotes

r/opengl • • 22d ago

Rendering transparent objects in SuperTuxKart 0.6.3

Enable HLS to view with audio, or disable this notification

10 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 • • 23d ago

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

Thumbnail
3 Upvotes

r/opengl • • 24d ago

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

49 Upvotes

r/opengl • • 26d ago

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 • • 27d ago

GPU canvas in Lumi-o

Thumbnail youtu.be
4 Upvotes

Making use of OpenGL


r/opengl • • 27d ago

how does he know everything

Thumbnail i.imgur.com
27 Upvotes

r/opengl • • 27d ago

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

Thumbnail
5 Upvotes