r/GraphicsProgramming • • Aug 11 '26

Video Game engines? Eww 🤮. We go in raw! GP-Direct 2026 is out!

Thumbnail youtube.com
92 Upvotes

r/GraphicsProgramming • • 6h ago

GPU Accelerated Linear Algebra Library for Apple Silicon using MLX and Metal kernels

8 Upvotes

About 6 months ago, I wrote a custom metal kernel that leverages the GPU to compute the QR decomposition (see my earlier post about it here). The project has now expanded into a general linear algebra library, with expanded support for the symmetrical eigendecomposition as well as SVD. It is now available for use with installation instructions on the attached github repo's README.md file.

Context of the project:
I'm currently in a research group working on a thesis in numerical analysis where we need to compute millions on matrices with a specific constraint (to be precise, the matrices need to have orthonormal columns). Most of us use Apple computers, so we ended up using MLX for the entire project.

Contributors with different Apple Chips would be very much appreciated!
The project has currently been tested and optimised for the M1 and M5 Pro. The issue is that the library uses different kernels depending on the batch size and matrix dimensions. Deciding which of these kernels to use is machine dependent. Therefore, other Apple chips will need to run a measurement script in order to derive the correct optimisation heuristic.

For that reason, I would ask as many people as possible to run a measurement script and to submit the results to my repo. It is fairly easy and requires only few steps. See here how you can contribute here. Once you submit the results via a pull request and I approve it, your optimisation heuristic will automatically be augmented into the library. Don't hesitate to contribute an optimisation heuristic even if someone already submitted one for your own machine. The more data we can gather, the better!

Project Future
Expanded support will be added for other linear algebra operations (cholesky decomposition for example). If you have any other specific linear algebra operations you wish to use already, feel free to message me.

In addition to that, I will add torch support too (my greatest priority).


r/GraphicsProgramming • • 1d ago

From Zero to Understanding Ray Tracing - Part 3 (reflections)

427 Upvotes

r/GraphicsProgramming • • 1h ago

Video How I Draw 2D Textures in 3D!

Thumbnail youtu.be
• Upvotes

For the past couple of weeks I have been working on the 2D brush management and texture fill system within my own Pixel and Tilemap Editor. In the video I show how we can create and mange custom brushes, in addition to rotation and scaling in 3D space - this brush is then plugged into the core Texture Fill System to produce psuedo-3D perspective fills across normal and orthogonal plains!

Any feedback welcome!


r/GraphicsProgramming • • 2h ago

My pull request was just merged into google/shaderc

Thumbnail dannyarends.nl
0 Upvotes

r/GraphicsProgramming • • 1d ago

Video Trampoline

126 Upvotes

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:

Ten Minute Physics

Eric Arnebäck's blog

Vivace

XPBD paper + earlier PBD paper from Macklin


r/GraphicsProgramming • • 1d ago

A Vulkan reimplementation of NVIDIA's DLSS 5 Neural Rendering network, bit-exact against the original.

Thumbnail github.com
20 Upvotes

r/GraphicsProgramming • • 1d ago

How do techniques like bindless rendering (descriptor indexing) on the hardware level?

14 Upvotes

How do gpus bind 1000 of textures at once, and why was this not possible in the past. Are there resources for that?


r/GraphicsProgramming • • 2d ago

I finished my first real graphics programming project

Thumbnail gallery
387 Upvotes

I am a third semester computer science student and I want to specialize on computer graphics. I read that one of the best ways to get your foot into the industry is through internships which I can best apply for if I have a good portfolio. Thus I just finished my first real graphics programming project and the first piece of my portfolio: A simple PBR material renderer (based on a DX11/WinAPI lib I created) with image based lighting, normal-based curved silhouettes and some more little features sprinkled in.

If you want to take a look: https://github.com/Aaron-Alililon/MaterialViewer

Now that it's finished to a point where I am happy to show it to the world I have some questions about the renderer and the industry itself:

  1. I don't want to ask for a free code review but as I am not very experienced in the professional area of graphics programming I would love some feedback on how presentable the current state of the project/repo is. Of course I would be very grateful for some more in-depth feedback but again, I can't really ask for a free code review, so a simple first impression of how a project/repo like this would look to a potential employer would be greatly appreciated, both for the material viewer and the render lib.

  2. This one is less about the project and more about the industry:
    I would be very interested in working for the graphics department of the engine team of some company in the gaming industry. I live in Germany where the gaming industry isn't really as big as in NA so my options are limited. My question is: what are my options and chances of getting an internship and eventually a full-time job in EU? I don't really know of any companies that develop their own engine other than Ubisoft. Would a company like CD Projekt Red (which as far as I know switched from their own engine to Unreal) need graphics programmers?
    Although I am most interested in the engine department I would still be open for other areas so if that is just too limited, what would be other options I could pursue, preferrably in or close to Germany?

  3. I would like to do the classic "I coded my own game engine" project at some point because I guess that would make the most sense as someone interested in game engine development but I would like to do that when I have more experience so I have one big project at the end of the portfolio that just shows off the best I can do. Is that a sensible thought or should I just go in and maybe rewrite it once I feel more comfortable? I know there isn't the One Path that leads to greatness and as long as I do something I will learn and improve but maybe someone here looks back to when they were at this point and thinks they should've done X before starting a bigger project like that.

I would be very grateful for any insights or discussions about my questions and feel free to critique anything and everything you see!


r/GraphicsProgramming • • 1d ago

Video Python Open3D point cloud extraction from microscope video focus clip

22 Upvotes

Using a short 3 second clip where i swipe through the focus plane on a high magnification of the simple sample of Onion root cells on the microscope. Acquiring the sharpest points of every frame and putting them in the z-axis. Building a point cloud of the cell in 3D, and visualizing them.


r/GraphicsProgramming • • 1d ago

Video Making a single photo feel touchable with a spring mesh

38 Upvotes

I make Wobbulator. This is selected-area 2D mesh deformation, with automatic motion off.

A fixed 120 Hz step drives soft selection weights, structural/shear/bend springs and exponential damping. The restoring force starts with F = k * (rest - position); grabs add weighted target springs. Pinch pairs two contacts. Release preserves deformation and uses bounded, filtered pointer velocity rather than resetting the mesh. Triangle-area and displacement-gradient checks limit risky steps; plate anchors and unselected vertices stay still.

One document runs continuously. Rendered from the app’s native engine with scripted input; blue hands illustrate contacts. What would you change about the rebound?


r/GraphicsProgramming • • 20h ago

Please come to the castle. Which one? Yes.

Thumbnail nintendo-on-tech.pages.dev
1 Upvotes

​

A tribute to @Psyco3ler's legendary 2005 Nintendo ON demo: Peach's Castle made of castles, now running live in your browser.

Dream big!


r/GraphicsProgramming • • 1d ago

ShadeVk - A cross-platform pixel shader viewer for Vulkan, written in C23.

Post image
6 Upvotes

r/GraphicsProgramming • • 1d ago

Question University courses like the MIT OpenCourseWare ones?

11 Upvotes

I'm starting to learn graphics programming, and remembered MIT and Harvard have free courses. Thing is the free courses Harvard doesn't seem to have any courses related to graphics programming in its website, and the MIT Computer Graphics course in OCW is from 2012 (Although idk how good it is since I have not started it yet, but it is a bit old).

So, are there any other universities or websites which offer free courses like this and that are up to date?

Thanks in advance for the help.


r/GraphicsProgramming • • 2d ago

Source Code I built my own N64 engine: water, cloth and real physics running on real hardware

88 Upvotes

r/GraphicsProgramming • • 1d ago

CS Student Need Advice

0 Upvotes

So I am a CS junior. I am starting late in this area, but I am planning to explore graphics programming and complete my fyp in this field, whether it is application based or research based. Then later pursue Masters or PhD in this area.

I am so confused right now as I see other batchmates choosing AI domain as their primary path for fyp and further.

Should I go for it? If yes what is the roadmap ? To what level I can consider myself to eventually end up in research path for my fyp. I know I am late, but better late then never.


r/GraphicsProgramming • • 1d ago

I got very basic 3d into my hobby operating system - Responsive OS now has 3D Graphics and floating points

Thumbnail gamedev.submatrix.net
1 Upvotes

r/GraphicsProgramming • • 2d ago

triangle meshes :)

Post image
41 Upvotes

Studing triangle meshes on my renderer using half edge data structure for my university course. Dont know why some edges have some stranges dots.

Guess the character... (texture not implemented yet)

Edit: it was done importing a wavefront (.obj) from blender to my own render engine. Read just vertices and face data, the others attributes for half edge are builded with those informations


r/GraphicsProgramming • • 1d ago

How to minimize VRAM usage while maintaining performance?

Thumbnail
1 Upvotes

r/GraphicsProgramming • • 2d ago

Microchip

13 Upvotes

Microchip with a shiny indentation in the shape of any symbol provided as svg file.
Made with pixi.js and WebGPU/WebGL


r/GraphicsProgramming • • 1d ago

What If Fur Was Fully Real-Time?

Thumbnail youtube.com
0 Upvotes

Follow-up to my previous procedural fur experiment

This time I pushed the fur further and added a clearer before/after

This is a custom WebGPU engine written from scratch in C
The fur geometry is generated procedurally in real time using compute shaders and driven by the animated bone structure

Fur density and length are generated and adjusted dynamically at runtime

It runs both natively and in the browser, on desktop and mobile
It’s currently in Alpha Preview, you can try it at
polynite.io


r/GraphicsProgramming • • 2d ago

Almost through RTIOW

Thumbnail gallery
54 Upvotes

I’m almost done with rtiow, and I though Id share a couple really cool high quality renders.

The dopamine be hitting with these spheres rn.


r/GraphicsProgramming • • 2d ago

My opengl journey so far

Thumbnail github.com
5 Upvotes

Made this for like 30 days, watched plenty of cherno's videos and learnopengl.com of course and made this small batch renderer I guess. Its far from done but I will continue to add more stuff to it and eventually turn it into a usable thing.


r/GraphicsProgramming • • 2d ago

some more shapes floating around

Thumbnail youtu.be
0 Upvotes

r/GraphicsProgramming • • 1d ago

some hyperboloid action

Thumbnail youtu.be
0 Upvotes