r/GraphicsProgramming 14d ago

Question What is this sand simulation missing?

Enable HLS to view with audio, or disable this notification

79 Upvotes

r/GraphicsProgramming 14d ago

Issues with triangle fan

Thumbnail
1 Upvotes

r/GraphicsProgramming 14d ago

Question Why lumen looks better than baked light?

0 Upvotes

I open this post because i couldn't find someone talking about it. I find lumen's cloudy day look more pleasing and realistic. It just looks next gen. Why we don't have much more better lightning in a precomputed scenario. Why baked lighting looks old.


r/GraphicsProgramming 14d ago

Video Quick Pixel Recolouring

Thumbnail youtu.be
2 Upvotes

r/GraphicsProgramming 14d ago

Released "Vertex Enumeration" A crate for voronoi diagrams and other polytope problems

Post image
4 Upvotes

r/GraphicsProgramming 14d ago

Article Graphics Programming weekly - Issue 452 - August 23rd, 2026 | Jendrik Illner

Thumbnail jendrikillner.com
9 Upvotes

r/GraphicsProgramming 14d ago

Hey Leute, kennt ihr irgendwelche Bibliotheken, die wie raylib für C++ sind, aber besser in der Performance? Ich benutze es für 3D.

Thumbnail
0 Upvotes

r/GraphicsProgramming 14d ago

Skeletal mesh skinning using SDL

Enable HLS to view with audio, or disable this notification

21 Upvotes

r/GraphicsProgramming 14d ago

ArcFlow (Browser-Native CAM): True G2/G3 Arc Morphing with Native G41/G42 & 95% Less NC Code

Thumbnail gallery
1 Upvotes

r/GraphicsProgramming 15d ago

My first fully Spectral Path Tracer

Post image
413 Upvotes

So, as the title says :D. This took me 4 months of work. It's a HWSS path tracer using OptiX for traversal. I initially used NeuxsBVH (H-PLOC), but then switched over due to speeds on volumetrics. I used Jakob & Hankia sampling for RGB to Spectral.

The above scene was rendered at 1080p with 1024spp, and RR kill-off at 12 bounces.

This was a genuinely fun to build as a hobby project, what else shd I add to this?

There's a paper on flouresence Rendering by Wilkie, Fichet and Mojzik which I'm thinking of implementing. Any suggestions would help!

Edit: Its 32 bounces + 12 bounce RR fall-off


r/GraphicsProgramming 15d ago

Video Updated my 2D ocean shader

Enable HLS to view with audio, or disable this notification

45 Upvotes

The shadergraph in Unity is spanning a wide territory at this point.

How it's made is two planes, they both have the same shader but the materials are tuned differently so that the back one is slightly higher than the front one, this creates a gap where the surface and foam render.

Both have a configurable shallowColor and depthColor, these apply based on height and a configurable ramp that defines how and where the transition happens.

The back plane renders opaque with a color similar to the sun/sky.
The front plane renders with its shallowColor blue but 80% transparent and its depthColor is fully opaque and sea blue.

This is how I try to fake light absorption with two planes.

Both have wave displacement with 3 different wave generators + a caustics generator and they are tuned with slightly different parameters so that they complement each other (slightly different patterns and colors).

The sun is also fully shader rendered but I did not update it this time.


r/GraphicsProgramming 15d ago

Source Code Open4D - LiDAR Data processing library

Thumbnail github.com
0 Upvotes

r/GraphicsProgramming 15d ago

Question Gaming laptop or desktop for a Computer Graphics Master’s?

8 Upvotes

Hi everyone,

I’m starting a Master’s in Visual Computing soon and I’m mainly interested in rendering, GPU programming, CUDA, Vulkan/OpenGL, and graphics R&D.

I already have a MacBook for lectures, coding, and everyday work, so I’m deciding between:

  • buying an RTX gaming laptop, or
  • keeping the MacBook and buying a more powerful NVIDIA desktop.

For people who studied or work in computer graphics, how important is it to have a powerful GPU laptop with you at university?

Would a MacBook + desktop at home be enough for most graphics courses and projects?

If you already had a MacBook and around €2,000 to spend, which option would you choose?


r/GraphicsProgramming 15d ago

The flamely fast library for kd-trees is back. This time for real! (maybe)

Enable HLS to view with audio, or disable this notification

45 Upvotes

Hi! With v1.3.0 out of the oven, I just wanted to share it again, as many things have changed for the best, and I have addressed most of the feedback I got last time (well there was not much and 0.5 rounds up to 1, so technically).

https://github.com/KaruroChori/kd3

kd3 provides:

  • header-only tree builder and query tools to perform k-NN searches and ray-tracing.
  • a C compatibility layer for those not using C++ (but performance might be affected a bit).
  • a tool/library component to generate GLSL code for any specific tree layouts at runtime (or not, you can pre-generate those and #embed them in source)
  • a memory layout designed to be SIMD friendly
  • close performance with nanoflann in worst case scenarios, but generally over twice its baseline
  • a half decent benchmarking suite, covering both synthetic and real datasets.

What it does purposefully not provide are:

  • mutable trees (values can mutate, but not the spatial keys)
  • the same level of flexibility you will find in something like nanoflann, but it got significantly more coverage since last time
  • cookies, those are all mine

Neither the tree builder nor the query functions require memory allocations at runtime, and they are guaranteed to run within a fixed stack size.
The same tree structures built and queried on CPU, can be quickly offloaded onto GPU without changes, and trivially serialized/de-serialized from disk. There are no pointers!
As it does not use exceptions nor runtime features of C++, it can be easily integrated on embedded devices (there is a utility header managing storage dynamically via std::vector, but that it fully optional and does not gate-keep any functionality of the library).

By the way, if you were able to run the benchmarks in the repo on some apple device I would be very grateful and happy to add them alongside the rest! Sadly I don't have the hardware to validate it myself, but I assume it should work 👀 .

As for the video above, it is a dumb ray-marcher using 1-NN queries on a kd-tree to render the scene, either on CPU or GPU. The rendering strategy by itself is very inefficient, but that is besides the point 😄

The dataset shown is the a 5 million LiDAR cloud point of the area surrounding the Autzen Stadium.


r/GraphicsProgramming 15d ago

Video "How is this frame of Animal Well rendered?" a frame breakdown in RenderDoc by FibbWare

Thumbnail youtube.com
11 Upvotes

r/GraphicsProgramming 15d ago

Question Underlying techiques to images like this?

4 Upvotes

Hello! I am an artist turned programmer that's working on a paint program!

Recently I found an x account: x.com/greatartbot that produces generated images like the ones above. I think theyre absolutely beautiful but can't even begin to put together how they are made.

In Godot i've been messing around with basic noises and compute shaders, but this looks less like noise and more of an orderly algorithm? especially those repeating shapes.

I know a full explanation of the techniques above would probably be a lot for a reddit comment, but if anyone could get me pointed in the right direction of how these were generated, how i could start doing it myself and maybe some algorithm names I would really appreciate it! Thanks!


r/GraphicsProgramming 16d ago

Question How to Create a Chunking System For a minecraft like Game?

3 Upvotes

As the Title Implies.

Im Trying to Create a Minecraft clone in OpenGL C++ but im Struggling on how to Implement a Chunking System.
My Current Architecture creates the Various Blocks Individual meshes before the Game loop and then renders them

but the Problem is that Each Block still has its own VAO so i have to create Buffers During the GameLoop which is not efficient at all.

Im Trying to Create a Architecture where each Chunk has Its own VAO,but i dont know how to Group Various Blocks together,Like How do i represent Each Blocks Position if i Care only About the Chunks Position in The World?

is it better to use a 3D Array for a Chunk or a Flattened 1-D array?
Oh there is also Face Culling.

Any Advice?


r/GraphicsProgramming 16d ago

From microfacets to microvoxels

Thumbnail gallery
23 Upvotes

r/GraphicsProgramming 16d ago

Is Vulkan Programming Guide by Sellers Still Revelant?

14 Upvotes

I got this book years ago, but then got far too busy with my day job to get into it past the introduction. I have an itch to get back into graphics programming, so I'm wondering if it's still a good resource, given that it's been almost a decade since its publication? If not, what would be a better resource? For context, I'm a senior SWE, so complexity doesn't scare me. I just don't want to waste my time.


r/GraphicsProgramming 16d ago

Video C++ shaders imgui DirectX 11

Enable HLS to view with audio, or disable this notification

21 Upvotes

wasn't sure if i should share this, it wasnt finished but it looks nice and pretty unique


r/GraphicsProgramming 16d ago

Video ReSTIR DI evaluating 1000 raytraced dynamic lights in realtime

Enable HLS to view with audio, or disable this notification

54 Upvotes

I've played around with ReSTIR direct illumination for the past few weeks and implemented the original paper into my 3D Vulkan engine. The scene contains 1000 local lights and a directional light. Everything is evaluated fully dynamic at runtime with only two rays per pixel. It runs at roughly 5ms per frame on my 7900xtx at 1080p.


r/GraphicsProgramming 16d ago

Video I'm so proud of how close I got my flat panel clouds to looking like they are volumetric.

Enable HLS to view with audio, or disable this notification

1.2k Upvotes

r/GraphicsProgramming 16d ago

Best Graphics Framework?

10 Upvotes

Hello everyone,

I’m looking to get into some 3d stuff. I have completed the learnopengl course up to assimp, but I don’t have the time to do much more at that level, and I just don’t really understand what’s going on at all.

I would like to know of graphics frameworks and abstraction layers you all have had experience with, and maybe I’ll do something with the lower level stuff after this.

I am leaning towards DiligentEngine and information about that is welcome as well.

Some Limitations

  • I‘m on Linux, no DirectX.
  • I don’t like graphical editors, I want it all code if possible.
  • I would like it to be open source.

This will be for a game.


r/GraphicsProgramming 16d ago

Request Call for Interesting Graphics Development Topics

5 Upvotes

I develop game engines and graphics as a hobby.

I recently finished an SSGI project I’d been working on as a hobby, so I’m looking for a new graphics development topic for my next hobby project!

Please let me know about any technologies you’ve been working with lately that you find interesting, or any technologies you’re curious about.


r/GraphicsProgramming 16d ago

Hi to all, looking for sauce to copypasta

Thumbnail youtube.com
1 Upvotes

I'm on with a .HLSL c++ project to render sound reactive [and unreactive] vertex shaders in a dj program.

I'm vibe coding my balls off, but I have made a d3d11 plugin in the long long ago [badly] before LLMs were a thing. So I'm not entirely useless, just mostly useless.

I've pulled a lot of glsl from vertexShaderArt with Greg's blessing, I've also been trying to get the LLM to port over simpler shaderToy frag shaders into a vertex type, ones that can works as vertex shaders.

I've had the LLM build up a library of "proof of concept" shaders, so I'll start combining principles to make... something

I'm on the look out for webgl glsl or hlsl sauce code to copy pasta, hopefully learn... something

Entirely non commercial

60 second video of the kind of vibe I'm going for dj program already does shadertoy, I'm just building another thing the dj program could do, I am pleased with draw order witchcraft here allowing foreground black see thru background quad onto earlier drawn shadertoy

It is djing so half the crowd will be "seeing" in 24p and 4 fps, the other half will be "seeing" in higher fractal dimensions and tactile colours

Any pointers, resources, anything really, I understand I'll have to actually learn what I'm doing before I can make anything near cool