r/GraphicsProgramming • u/TomClabault • Dec 21 '24
r/GraphicsProgramming • u/Builderboy2005 • Nov 05 '25
Working on 2D Global Illumination specifically for low-res pixel art games.
The implementation is super basic right now, and basically focuses entirely on features and fine-detail at the expense of performance, so it requires a relatively new GPU to run, although my laptop 3080 is sufficient to run at full FPS on a Web Build, so it's not _too_ offensive.
The implementation is very straightforward, it just casts 1000 rays per pixel, accelerated by a dynamic SDF. Focus was made on keeping the inner loop really tight, and so there is only 1 texture sample per ray-step.
Full features supported so far:
- Every pixel can cast and receive light
- Every pixel can cast soft shadows
- Bounce lighting, calculated from previous frame
- Emissive pixels that don't occlude rays, useful for things like fire
- Partially translucent pixels to cast partial shadows to add depth to the scene
- Normal-map support to add additional fine-detail
The main ray-cast process is just a pixel shader, and there are no compute shaders involved, which made a web build easy to export, so you can actually try it out yourself right here! https://builderbot.itch.io/the-crypt
r/GraphicsProgramming
•
u/egehancry
•
Sep 28 '26
From Zero to Understanding Ray Tracing - Part 2
I posted the part 1 two months ago and got a great reaction!
Here is the next one. It teaches:
What ray tracing fundamentally is.
The basic idea behind shading: surfaces are brighter when light hits them more directly, and darker when it hits at a wider angle.
Shadows.
Let me know what you think!
r/GraphicsProgramming • u/Striking-Start-1464 • May 15 '26
Question How long does it take to do something decent in OpenGL?
Hi! I'm trying to learn graphics programming for fun after coming from high-level languages like GDscript or Python. I want to understand how games work under the hood!.
But I've come across many comments from colleagues telling me, "Get out of OpenGL, you're not going to build anything you'll ever finish." Or "OpenGL is a time-waster not worth learning, just make games" which demoralizes me a little.
I've been learning C++ these past few months and I find it an extremely interesting language. I appreciate the freedom it gives developers to do anything; Python limited me to only doing certain types of things, as it wasn't the right tool for some types of work.
And I've already written my first program! With my own logic! In C++ I made a program that calculates how much VAT should be deducted from the price of a product. I know it's not much, but I felt really proud.
I think I'll read the LearnOpenGL Book since it seems to be the most reliable source for learning OpenGL, or can you recommend better resources?
To answer my future self in a few years, would you recommend learning Vulkan? I've seen people do amazing things with OpenGL on this subreddit, so I think I have more than enough with OpenGL, I think Vulkan is the real time-waster hahaha (No offense to those who love Vulkan, just kidding).
Fun fact: This is what Doom 2016 looks like with OpenGL 4.5, I recently bought it and was amazed.
r/GraphicsProgramming • u/DylanBT928 • Sep 16 '25
My first triangle!!
finally getting started with learnopengl
r/GraphicsProgramming
•
u/egehancry
•
Oct 01 '26
From Zero to Understanding Ray Tracing - Part 3 (reflections)
Thank you for your support! Part 3 is about reflections.
Let me know what you think!
I also share it in X: https://x.com/sinaatalay/status/2105545919915786280
r/GraphicsProgramming • u/Adam-Pa • Mar 21 '26
Fractal path tracer! (FPT)
I'm currently working on a opensource fractal path tracer (FPT)!
download: https://github.com/adam-pa/FPT/releases/tag/v1.15
code: https://github.com/adam-pa/FPT
I've been working on this for quite some time and I'm really happy with what I have accomplished so far, also I really love seeing fan made renders so if you make any I would love to see them <3
just one last thing, if you find any bugs/things that I should fix/add please let me know!
r/GraphicsProgramming • u/BeastMsterThing2022 • Aug 29 '26
A different take on DLSS5, from a current graphics hardware standpoint
r/GraphicsProgramming • u/No-Citron-3963 • Sep 20 '26
Building a unified engine for traditional art materials
Last time I built oil paint using WetBrush. Since then I've extended it to watercolor, pencil, crayon and gold leaf as well, and brought them all under a unified engine.
Keeping WetBrush as the backbone, I moved the computationally heavy viscosity calculation and the pigment — which I had been holding in 3D — onto a height field, so it now runs in the browser and on devices like the iPhone SE 3rd gen.
Some of the dynamic simulators haven't been ported over yet, so I'm not happy with the oil paint yet, but I've tried to strike a balance between accuracy and speed.
You can try a demo in the browser:
https://mignonsketch.com/sketch
r/GraphicsProgramming • u/Mehedi_Hasan- • Aug 15 '25
Video My first project
After completing Chapter 1 of LearnOpenGL, I made this. It’s pretty hacky though.
repo: https://github.com/Dark-Tracker/sorting_algorithm_visualization
r/GraphicsProgramming • u/Joe7295 • Aug 18 '25
Video Vulkan port of PC airflow and heat simulation
A few months ago I posted an OpenGL/CUDA PC airflow and heat simulator, and I just finished a Vulkan port to learn Vulkan! Same physics, but all CUDA kernels were rewritten as Vulkan compute shaders and the OpenGL renderer replaced with Vulkan. It can be compiled using CMake on MacOS (using MoltenVK), Windows, and Linux if you want to try it out at https://github.com/josephHelfenbein/gustgrid-vulkan, I have more info on it in the repo. It's not fully accurate, I haven't changed the functionality yet from the OpenGL/CUDA version I posted, just ported it to Vulkan for learning. Let me know what you think!
For some reason also, it runs much better on MacOS. The recording was done on my friend's Mac Studio, and it runs really well on my MacBook too, but less well on my Windows and Linux machines.
r/GraphicsProgramming • u/Slight-Safe • Oct 15 '24
Video I made a free tool for texturing via StableDiffusion. It runs on a usual pc - no server, no subscriptions. So far I implemented 360-multiprojeciton, autofill, image-style-guidance:
r/GraphicsProgramming • u/SloydDev • Aug 13 '26
I've been experimenting with some water rendering. What's your opinion about this rendering style?
Made with Vulkan, and using procedurally generated plants. I'm making this as part of developing a game.
Water effects include refraction and reflection, both for the line-of-sight and for sun light.
These effects are accomplished with extra "cameras" for the refracted and reflected views, plus screen marching.
The graphical style is quite low res, and without any anti-aliasing. I hope you can see this, given the resolution of the video. The game screen resolution is 720x480.
What's your first impression of these visuals?
r/GraphicsProgramming • u/AuspiciousCracker • Mar 17 '25
Images from my hobby pathtracer using Vulkan and C++!
r/GraphicsProgramming
•
u/micjamking
•
May 10 '25
Video My first WebGL shader animation
No AI, just having fun with pure math/code art! Been writing 2D canvas animations for years, but recently have been diving in GLSL.
1-minute timelapse capturing a 30-minute session, coding a GLSL shader entirely in the browser using Chrome DevTools — no Copilot/LLM auto-complete: just raw JavaScript, canvas, and shader math.
r/GraphicsProgramming • u/Rare-Syrup5037 • Nov 26 '24
I made my first triangle
I barely understand a thing lol
r/GraphicsProgramming • u/Neotixjj • Apr 06 '24
My teacher told that I was crazy to do a rendering project with Vulkan.
r/GraphicsProgramming • u/Rayterex • Nov 17 '24
Video Preview of the Graphics Engine I am developing
r/GraphicsProgramming • u/robobo1221 • Jul 23 '20
Video Real-time physically based volumetric clouds I've been working on
r/GraphicsProgramming • u/isandrocks • Apr 01 '26
Does anyone else think Signed Distance Functions are black magic?
I built this and even I barely understand the math behind it anymore. My head hurts I’m going to go stare at a wall for a bit. Take a look at the code. Let me know if I messed anything up!
Disclaimer: I forked the outer box and background from Cube Lines, but the interior box is my own work.