MΞ›X's Avatar

MΞ›X

@m4xc.bsky.social

Software engineer fascinated by hardware, electronics, & the niche. Studying graphics programming at BUAS 🀟 Intrigued by voxels, pixel art, & graphics. https://m4xc.dev/

340 Followers  |  51 Following  |  52 Posts  |  Joined: 22.10.2024  |  1.9926

Latest posts by m4xc.bsky.social on Bluesky

You find the minimum and maximum values for each color channel in a 4x4x4 block. And then for each voxel store 3 bits that tell you how to interpolate those two endpoints. This is lossy compression, so you’ll need to keep the original content around in case you want to make edits.

21.01.2026 10:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Uncompressed 64tree

Uncompressed 64tree

Compressed 64tree

Compressed 64tree

Did some experimentation with 4x4x4 voxel block compression today. I'm using a 64 tree with block compression applied at the leaf nodes. 3 interpolation bits per voxel. You can definitely see some compression artifacts. Both trees in this comparison store 8 bit RGB colors.

16.01.2026 22:47 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I could do something similar on the GPU, per Lane find its ray octant, then use Wave intrinsics to check if all Lanes are in the same octant. If they are, have all go down the same templated code path. Otherwise, just have them all take the normal code path I already have to avoid divergence.

30.12.2025 21:38 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I did solve the depth values! They are correct now :) However you can still see things through other objects sometimes in the video. It still seems to happen where the axes are 0 in world-space, I haven't been able to find out why.

30.12.2025 19:19 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Oh I see, no I don't do that at the moment. I also personally haven't seen anyone else do it.

30.12.2025 19:17 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yes! I always enter the nearest bounding box first and push the other one onto the stack (if it was also a hit)

30.12.2025 18:48 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Been working on voxel ray-tracing again lately, this time using a BVH2 TLAS and SVT64 (64tree) BLAS(s). The heat gradient in the video shows the step count from 0 to 128. This scene contains 256 voxel dragons, each model is 256^3 voxels :)

30.12.2025 14:43 β€” πŸ‘ 21    πŸ” 3    πŸ’¬ 2    πŸ“Œ 0

At the time I wasn’t aware of FLIP for image comparisons, so I didn’t do a FLIP comparison back then :p

26.12.2025 14:36 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thank you! :)
Yes, we are fortunate to have access to PS5 development through our Uni.

03.07.2025 18:45 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A first pass is used to determine what 8x8x8 chunks need to be updated, then the second pass is indirectly dispatched to perform only required re-voxelization.

A first pass is used to determine what 8x8x8 chunks need to be updated, then the second pass is indirectly dispatched to perform only required re-voxelization.

A big optimization I worked on after my last post was making our voxelizer lazy. So, it only updates parts of the scene that changed. This made a huge difference for our performance and allowed us to push for larger level sizes!
Below is a high-level drawing of how it works:

02.07.2025 19:02 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A picture showing how to use the render graph interface using a builder pattern.

A picture showing how to use the render graph interface using a builder pattern.

The engine supports both PC and PS5 through a platform-agnostic render graph I wrote.
It was a big gamble, I had written it as a prototype in 2 weeks, but it really paid off in the end. Saving us a ton of time and keeping our renderer clean.
Below is a code snippet showcasing the interface :)

02.07.2025 19:02 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Kudzu Engine - Showcase
YouTube video by Sven Kudzu Engine - Showcase

We've used the #voxel game-engine we build as a team of students to make a little diorama puzzle game :)
This has been an incredibly fun experience, building this from the ground up, working together with designers and artists!

Engine: youtu.be/uvLZn1X_R0Q
Game: buas.itch.io/zentera

02.07.2025 19:02 β€” πŸ‘ 20    πŸ” 6    πŸ’¬ 1    πŸ“Œ 0

I'm assuming that by cluster you're referring to a voxel brick in this context :) (correct me if I'm wrong)
If each brick has its own transform. Couldn't that result in gaps between the bricks? Do you do anything to combat that, or is it not an issue?

04.06.2025 13:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
The Witcher 4 - UE 5.6 Tech Demo | State of Unreal 2025
YouTube video by IGN The Witcher 4 - UE 5.6 Tech Demo | State of Unreal 2025

Excited to finally show off Nanite Foliage www.youtube.com/watch?v=FJtF...

03.06.2025 18:19 β€” πŸ‘ 209    πŸ” 44    πŸ’¬ 14    πŸ“Œ 2

Awesome work, the demo looks amazing! :)
I'm curious what is the voxel size difference between LODs?
Does one brick in LOD1 cover 4x4x4 bricks in LOD0?
Or does it cover 2x2x2 bricks in LOD0?

03.06.2025 20:09 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Hey, sorry for my late response, I’m happy you enjoyed reading my blog post :)
I don’t currently have an RSS feed, I always share the posts on socials instead.
But I might look into RSS sometime.

09.05.2025 14:16 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Here's a video showcasing the demo we created using the engine, to showcase our engine is capable of being used to make actual games! :D

16.04.2025 14:57 β€” πŸ‘ 9    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Cone traced reflections.

Cone traced reflections.

Cone traced soft shadows.

Cone traced soft shadows.

Cone traced soft shadows & ambient occlusion.

Cone traced soft shadows & ambient occlusion.

For the past 8 weeks I've been working in a team of fellow students on a voxel game engine. I've been primarily working on the graphics, creating a cross-platform render graph for us, and working together with @scarak.bsky.social on our cone-traced lighting, and various graphics features! :)

16.04.2025 14:57 β€” πŸ‘ 20    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - mxcop/src-dgi: Surfel Radiance Cascades Diffuse Global Illumination Surfel Radiance Cascades Diffuse Global Illumination - mxcop/src-dgi

I decided to open source my implementation of Surfel Radiance Cascades Diffuse Global Illumination, since I'm not longer actively working on it. Hopefully the code can serve as a guide to others who can push this idea further :)
github.com/mxcop/src-dgi

12.03.2025 08:21 β€” πŸ‘ 117    πŸ” 20    πŸ’¬ 0    πŸ“Œ 0

It’s interesting to see the CWBVH performing worse here. If I remember correctly it usually outperforms the others right?

03.03.2025 11:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Graphics Programming weekly - Issue 376 - January 26th, 2025 www.jendrikillner.com/post/graphic...

27.01.2025 14:02 β€” πŸ‘ 79    πŸ” 23    πŸ’¬ 0    πŸ“Œ 0
Preview
MΞ›X - Surfel Maintenance for Global Illumination A comprehensive explanation of my implementation of Surfel probe maintenance.

I wrote a blog post on my implementation of the Surfel maintenance pipeline from my Surfel Radiance Cascades project. Most of what I learned came from "SIGGRAPH 2021: Global Illumination Based on Surfels" a great presentation from EA SEED :)
m4xc.dev/blog/surfel-...

25.01.2025 15:45 β€” πŸ‘ 118    πŸ” 32    πŸ’¬ 1    πŸ“Œ 0
Post image Post image Post image Post image

In case you're looking for the perfect university for 2025/2026:
Consider the game program of Breda University. :) Teaching team straight out of gamedev, C++, strong focus on graphics, and dedicated tracks for programming, art and design.
Tuition fee this year is 2530 for EU citizens.
games.buas.nl

25.01.2025 13:26 β€” πŸ‘ 38    πŸ” 8    πŸ’¬ 3    πŸ“Œ 0
Post image

My new blog post explains spectral radiometric quantities, photometry and basics of spectral rendering. This is part 2/2 in a series on radiometry. Learn what it means when a light bulb has 800 lumen and how your renderer can account for that.
momentsingraphics.de/Radiometry2P...

19.01.2025 08:29 β€” πŸ‘ 45    πŸ” 10    πŸ’¬ 1    πŸ“Œ 0
Join the Radiance Cascades Discord Server! Check out the Radiance Cascades community on Discord – hang out with 652 other members and enjoy free voice and text chat.

With RC we store intervals for every probe (intervals are rays with a min and max time)
They are represented as HDR RGB radiance and a visibility term which is either 0 or 1.
Here’s the discord link :)
discord.gg/6sUYQjMj

16.01.2025 23:48 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

That’s correct :)
GT stands for Ground Truth, it’s the brute force correct result which I want to achieve.

16.01.2025 11:48 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Now I'm working on integrating a multi-level hash grid for the Surfels based on NVIDIA's SHARC and @h3r2tic.bsky.social's fork of kajiya. Here's a sneak peak of the heatmap debug view :)

15.01.2025 18:28 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

I've been validating the results of my Surfel Radiance Cascades, comparing it to ground-truth and using the white furnace test. I think I'm really close to GT now, attached are 2 images, one is GT, the other is SRC :)

15.01.2025 18:28 β€” πŸ‘ 31    πŸ” 1    πŸ’¬ 3    πŸ“Œ 0
Post image

I've been improving the Surfel Radiance Cascades since my last post, ironing out bugs one by one. It's starting to get difficult to see the difference between my ground truth renderer and the SRC one :)
(in this rather low frequency scene, more high frequency tests coming soon)

08.01.2025 18:13 β€” πŸ‘ 13    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

After many weeks of effort I finally have radiance on screen now! I’ve still got issues mostly related to my Surfel Acceleration Structure, however I’d say the results are already looking quite promising. It has kind of a hand painted look to it now :)

03.01.2025 09:38 β€” πŸ‘ 39    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

@m4xc is following 20 prominent accounts