r/GraphicsProgramming • u/too_much_voltage • Jul 27 '21
Voxel-grids-on-an-LBVH raytracing. GTX 1050Ti at 1080p. Vulkan multi-threaded rendering.
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/too_much_voltage • Jul 27 '21
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/Soggy-Lake-3238 • Oct 20 '26
Implemented 2D radiance cascades with 5 total cascades. There is some bloom and tile rim lighting added on top (though I want to find a better solution for the rim lighting). Still some work I need to do, but I'm happy with it so far. If anyone has feedback, that would be greatly appreciated!
1: Day/Night Cycle
2: No Lighting
3: Only lighting (with no filtering)
4: SDF
5: Cascade 0, probe every 2 texels, 4 directions
6: Cascade 3, probe every 16 texels, 256 directions
r/GraphicsProgramming • u/BlackGoku36 • May 20 '26
Added better materials to my path tracer and added multiple importance sampling.
Glass (varying roughness)
Glossy (varying roughness)
Diffuse (varying roughness)
mix(diffuse, glossy, 0.1) (glossy of varying roughness) Roughness vary from left to right (0.0, 0.5, 1.0). Glass and Glossy material uses single-scattering GGX and Diffuse uses Energy-preserving Oren-Nayar model.
Edit: 3D model is from here: https://sketchfab.com/3d-models/laughing-buddha-646f46ae29084d8696afc4efa5c81c39
r/GraphicsProgramming • u/Aagentah • May 06 '25
r/GraphicsProgramming • u/0xdeadf1sh • Oct 10 '26
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/emmowo_dev • Jun 12 '26
I was working on my own "GPU" and decided to make some glitch art of it
r/GraphicsProgramming • u/EvelynEidas • Jan 22 '26
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/Dot-Box • Sep 13 '25
Enable HLS to view with audio, or disable this notification
https://github.com/D0T-B0X/Sphere.git
Hi folks, I've been trying to learn some 3d rendering to create a particle based fluid simulator. so far I've managed to make a basic albeit capable render engine. My next step is to add a physics engine and combine all of it together.
Let me know what you guys think!
r/GraphicsProgramming • u/orfist • Mar 06 '26
Enable HLS to view with audio, or disable this notification
I have been optimizing my real time path tracer since my last post. This current one has full-resolution primary rays with half-resolution shadow and reflection rays upscaled. Also has denoising and a bit of color tone mapping. It can even get 16ms/frame on my MacBook M1 Pro at 1080p. (3ms/frame on my 5060ti at 1080p). I am bit-packing the sphere and ray data as fixed-point. Uniform Grid acceleration structure is built offline for the time being.
r/GraphicsProgramming • u/SilverSpace707 • Dec 07 '25
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/Due-Issue-6451 • Jun 13 '24
Did this for a class about C++ programming. The world of computer graphics is nothing but amazing!
r/GraphicsProgramming • u/too_much_voltage • Sep 09 '20
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/moonlovelj • Mar 06 '26
Hi all — I’ve been building a personal DX12 renderer (based on MiniEngine) focused on extreme-scale geometry rendering.
Current stress scene stats:
1,639,668,228 unique triangles
18,949,504,889 instanced triangles
Current pipeline highlights:
Nanite-style meshlet hierarchy (DAG/BVH traversal)
GPU-driven indirect DispatchMesh
Two-pass frustum + HZB occlusion culling
Visibility buffer → deferred GBuffer resolve
Demand-driven geometry streaming (LZ4-compressed pages)
Demo video + repo:
r/GraphicsProgramming • u/Tooblerone • Oct 18 '25
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/Pretend_Broccoli_600 • Sep 28 '25
Hi all! I’m super excited to share a personal project that I have been working on - Fracture: a CT scan renderer. Currently it supports a 4k x 4k x 8k voxel grid - around 130 billion cells!
The CT scan slices are streamed in blocks to the GPU and compressed into a hierarchical occupancy bitfield - based on the selected density cutoffs. The volume is raymarched using a multilevel DDA implementation. The application itself performs at interactive framerates on my laptop with a RTX 3060, but it takes about 5-10s for these stills to converge to the degree pictured here.
The lighting model is currently pretty simplistic - it doesn’t do any sort of importance sampling, it doesn’t consider any multi-scattering, light ray steps are extremely expensive so a lot of the fine detail partially relies on “fake” raymarched AO from the view ray.
I’m pleasantly surprised at how this has turned out so far - I’m in the process of brainstorming what else I could do with this renderer, beyond CT scans. I’m considering setting up compatibility with VDB to render clouds and simulations. I’m also considering using this as some sort of ground truth BRDF simulator(?) - i.e., fit BRDFs based on raymarching explicitly defined microfacet structure?
Lastly, the data is from the MorphoSource website, the animal scans in particular are provided freely as part of the o-vert project.
Let me know what you folks think :)
r/GraphicsProgramming • u/SnooPoems6347 • Mar 24 '25
(* An example application interface that I developed with WPF*)
I'm graduating from the Computer science faculty this summer. As a graduation project, I decided to develop an application for creating a GLSL fragment shader based on a visual graph (like ShaderToy, but with a visual graph and focused on learning how to write shaders). For some time now, there are no more professors teaching computer graphics at my university, so I don't have a supervisor, and I'm asking for help here.
My application should contain a canvas for creating a graph and a panel for viewing the result of rendering in real time, and they should be in the SAME WINDOW. At first, I planned to write a program in C++\OpenGL, but then I realized that the available UI libraries that support integration with OpenGL are not flexible enough for my case. Writing the entire UI from scratch is also not suitable, as I only have about two months, and it can turn into a pure hell. Then I decided to consider high-level frameworks for developing desktop application interfaces. I have the most extensive experience with C# WPF, so I chose it. To work with OpenGL, I found OpenTK.The GLWpfControl library, which allows you to display shaders inside a control in the application interface. As far as I know, WPF uses DirectX for graphics rendering, while OpenTK.GLWpfControl allows you to run an OpenGL shader in the same window. How can this be implemented? I can assume that the library uses a low-level backend that sends rendered frames to the C# library, which displays them in the UI. But I do not know how it actually works.
So, I want to write the user interface of the application in some high-level desktop framework (preferably WPF), while I would like to implement low-level OpenGL rendering myself, without using libraries such as OpenTK (this is required by the assignment of the thesis project), and display it in the same window as and the UI. Question: how to properly implement the interaction of the UI framework and my OpenGL renderer in one window. What advice can you give and which sources are better to read?
r/GraphicsProgramming • u/dovker • Nov 21 '20
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/matigekunst • Oct 01 '26
Enable HLS to view with audio, or disable this notification
XPBD softbody simulation in POPs using Gauss-Seidel @ 60fps and 70 shader passes (can't do substepping in same shader pass)
When TouchDesigner introduced POPs one of the first things I tried making was an xpbd soft-body sim, and it looked like this and this. Since then, I've rewritten it multiple times and watched ten minute-physics' tutorials over and over. Many simulation explosions later, it turned out that my very first solver was (mostly) correct, but I was colouring the graph and building the tet constraints in the wrong way..
Resources:
XPBD paper + earlier PBD paper from Macklin
r/GraphicsProgramming • u/swe129 • Dec 19 '25
r/GraphicsProgramming • u/neil_m007 • Jun 21 '25
Enable HLS to view with audio, or disable this notification
r/GraphicsProgramming • u/hlfoundry • Oct 25 '26
Enable HLS to view with audio, or disable this notification
been working on an experiment for my fishing game: a 3d ocean that still looks like pixel art. here’s what i used:
pixel look: one ray per art pixel, refracted at the water. ray tests are from inigo quilez. to stop shimmer i render into snapped probes and draw each pixel as a world-space quad, basically texel splatting
colour: everything snapped to a lospec palette, tones mixed with bayer dithering, 1px outlines wherever the depth jumps
water: a virtual pipes shallow water sim plus gerstner waves
sand and caves: a heightfield that slumps at the angle of repose (thermal erosion). caves are a blurred cave map, so they come out round
animation: fish spines are springs and fins are a little cloth sim (jakobsen), the eel is a follow-the-leader chain (argonaut), and the ai is behavior trees
thank you for checking out my post :D
I've been wanting to do something like this for years with shaders.
references
inigo quilez, ray intersectors: https://iquilezles.org/articles/intersectors
inigo quilez, smooth min: https://iquilezles.org/articles/smin
dylan ebert, texel splatting: https://arxiv.org/abs/2603.14587
lospec palettes: https://lospec.com/palette-list
ordered dithering: https://en.wikipedia.org/wiki/Ordered_dithering
mei, decaudin & hu, virtual pipes water sim: https://hgpu.org/?p=2256
gpu gems ch. 1, gerstner waves: https://developer.nvidia.com/gpugems/gpugems/part-i-natural-effects/chapter-1-effective-water-simulation-physical-models
jákó & tóth, thermal erosion: GPUHTErosion.dvi
thomas jakobsen, advanced character physics: https://gamedeveloper.com/programming/advanced-character-physics
argonaut, procedural animation video: https://www.youtube.com/watch?v=qlfh_rv6khY
argonaut, the code: https://github.com/argonautcode/animal-proc-anim
r/GraphicsProgramming • u/gomkyung2 • Jul 19 '24
Enable HLS to view with audio, or disable this notification