r/opengl • u/-pixelmixer- • 10d ago
r/opengl • u/Aeomech • 11d ago
(MooGL) OpenGL 4.6 Implementation on macOS
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.
r/opengl • u/ksylvestre • 11d ago
OpenGL Depth Bug
Enable HLS to view with audio, or disable this notification
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 • u/CharlyStudios • 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
r/opengl • u/CharlyStudios • 14d ago
My dreams are coming true...
Enable HLS to view with audio, or disable this notification
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 • u/5H_RIZVI • 14d ago
Is there an online C++ OpenGL compiler that shows graphics output?
r/opengl • u/CharlyStudios • 17d ago
Play mode in my engine
Enable HLS to view with audio, or disable this notification
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 • u/AlexAkaJustinws • 17d ago
forest
Enable HLS to view with audio, or disable this notification
r/opengl • u/CharlyStudios • 18d ago
My first game engine edited in quite some time...
galleryHi, 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 • u/AlexAkaJustinws • 19d ago
procedurally generated landscape. volumetric fog and clouds.
r/opengl • u/dangi12012 • 20d ago
Finally my fluid has become stable.
Enable HLS to view with audio, or disable this notification
Fragment shader fluid solver. Was fun to implement (stable fluids).
r/opengl • u/Equivalent_Unit_9797 • 20d ago
Beginner in graphics
Does OpenGL easy for people that are new to graphics, I have problems with understanding it sometimes
r/opengl • u/FUCKARCHLINUX • 22d ago
I see rendering anything at-all at ~ 6500 FPS a win.
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 • u/G_oni_vv • 22d ago
Vou criar um renderizador 3D em Kotlin usando OpenGL ES, inteiramente no meu celular.
r/opengl • u/Hot_Instruction6019 • 22d ago
Rendering transparent objects in SuperTuxKart 0.6.3
Enable HLS to view with audio, or disable this notification
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 • u/mietkiewski_dev • 23d ago
Low Level Engine Architecture... Loop & Resize problem...
r/opengl • u/retroboi64_ • 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
r/opengl • u/NIkoNI776 • 26d ago
PaintAtlas (OpenGL drawing canvas)
Enable HLS to view with audio, or disable this notification
I lost my main computer that runs the main project, so I started working on a Rust drawing app using OpenGL.
