r/VoxelGameDev • • Oct 04 '25 This

Media My minecraft renderer vs sodium building a 32x32 world

1.2k Upvotes

https://github.com/urisinger/azalea-graphics while it doesnt match minecraft 1-1 atm, most of the missing features would not effect performence by much


r/VoxelGameDev • • Jan 13 '25

Media Our voxel game with ray traced lighting on a custom built engine

Post image
1.1k Upvotes

r/VoxelGameDev • • Jul 29 '26

Media Making voxel assets look like low-poly using marching cubes

Thumbnail
gallery
695 Upvotes

These were done in Goxel, but similar results can be achieved in Magicavoxel (although Goxel's MC rendering is cleaner and gives much better results)


r/VoxelGameDev • • Apr 07 '25

Media Destruction and building in our unannounced voxel physics survival game

535 Upvotes

r/VoxelGameDev • • Jan 19 '25

Question If you were to develop something like this with huge render distance, how would you go about it in broad terms?

417 Upvotes

r/VoxelGameDev • • Jun 10 '26 Bravo

Media BFS - new snow system implemented. Snow Squares to match voxels

406 Upvotes

Snow,

We implemented couple of matching systems in our sandbox simulation game called BFS:

- heightmap that updates when the world changes and covers everything with thin snow voxel layer
- VFX particles that are displayed as snow squares with turbulence
- actual physical snow voxel particles for players to play with


r/VoxelGameDev • • Mar 28 '26 Mindblown

Media My raymarching engine!

Thumbnail
gallery
395 Upvotes

I wanted to show off the voxel raymarching engine I've been working on recently in Rust and WGPU. It's a total WIP, and I haven't cleaned up all the specular reprojection/GI updates enough to make a coherent video out of it. However, it's getting pretty close!

The engine uses sparse 64-trees (credit) to raymarch, it borrows the mantissa-manipulation traversal logic from the attached. I wrote my own (pretty botched, so don't copy it) gltf parser to load models, so I can generate per-voxel normals, emissive surfaces, and roughness/metallic. Each voxel leaf encodes that all into 4 bytes in the tree structure.

My idea with the lighting model is that for the most part, anything view-dependent should be sub-voxel, and anything purely world space should be in voxel space. So, the specular reflections are traced/accumulated out from screen space, while the ambient irradiance and shadows are traced in voxel space. The former is from the GOAT of ray tracing, Tomasz Stachowiak (see any of his presentations if you're interested).

For the voxel-space lighting, I found we can accumulate all the lighting irradiance + shadows in persistent 1-1 voxel space surprisingly quickly. The current frame's unique visible voxels are written to a buffer, which then get traced and accumulated into the world lighting grid. Since there's 8 bytes/voxel of lighting, I'll certainly have to add in some dynamic unloading of this cache eventually. I'm also working on accumulating chunked variance, so I can have real reactive accumulation (i'm kind of cheating right now with the sample count).

I wish it could go without saying, but this is not an AI slop post, hold your Anthropic IPO conspiracies for now. Everything is available on my GitHub https://github.com/jamescatania1/voxel-raymarching

The shaders are super messy at the moment, there's a lot of code duplication - I'm holding out hope that the wgsl-analyzer LSP folks will get WESL imports working before I switch over.

Thanks for reading!


r/VoxelGameDev • • Nov 28 '25

Media Just some random screenshots from my previous procedural projects

Thumbnail
gallery
395 Upvotes

r/VoxelGameDev • • Jun 03 '26 Popcorn

Media Ocean wave voxel generation

386 Upvotes

I developed an Ocean Wave function that uses a multi-layer Gerstner wave sum algorithm, voxelized into a height field.

After a few attempts, I obtained these results. What’s interesting is how the foam forms—it’s not like a classic simulation where foam forms on the crests of the waves, but rather an approximation based on noise.

  • It generates a spectrum of waves in several layers: swell, medium chop, ripples.

  • Each wave has a direction, a wavelength, an amplitude, a random phase, and a frequency.

  • The dominant wavelength comes from a Pierson-Moskowitz approximation based on wind speed : lambda_peak ~= 2π * wind_speed² / gravity

  • The amplitude is also inspired by Pierson-Moskowitz : H_s ~= 0.21 * wind_speed² / gravity

  • Then each point (x, z) samples a height : height = sum(amplitude * sin(kx*x + kz*z - omega*time + phase))

  • The Choppiness parameter modifies the shape of the sine wave with a signed power term to make the peaks sharper.

  • Foam is added when the local slope of the height field exceeds Foam Slope, within a band controlled by Foam Thickness.

As a reference, I looked at what the Houdini Ocean Spectrum node produced.

I used a ray tracer to display the render.

Developed on PC and Mac in Rust.

Feel free to give me your feedback, see you soon ^^


r/VoxelGameDev • • Jun 03 '22

Resource I made a generator of Modern Houses

378 Upvotes

r/VoxelGameDev • • Mar 15 '25

Media My Tiny Voxel game is fully destructable, rendered with Ray Tracing and runs at 4K 120 FPS! The magic is Sparse Voxel Octrees!

365 Upvotes

r/VoxelGameDev • • Mar 14 '25

Media My voxel engine :)

Post image
348 Upvotes

r/VoxelGameDev • • Jul 31 '26

Media Experimenting with procedural entities

345 Upvotes

r/VoxelGameDev • • Jun 10 '25

Media Windy voxel forest

336 Upvotes

Some tech info:

Each tree is a top-level instance in my BVH (there's about 8k in this scene, but performance drops sub-linearly with ray tracing. Only terrain is LOD-ed). The animations are pre-baked by an offline tool that voxelizes frames from skinned GLTF models, so no specialized tooling is needed for modeling.

The memory usage is indeed quite high but primarily due to color data. Currently, the BLASses for all 4 trees in this scene take ~630MB for 5 seconds worth of animation at 12.5 FPS. However, a single frame for all trees combined is only ~10MB, so instead of keeping all frames in precious VRAM, they are copied from system RAM directly into the relevant animation BLASes.

There are some papers about attribute compression for DAGs, and I do have a few ideas about how to bring it down, but for now I'll probably focus on other things instead. (color data could be stored at half resolution in most cases, sort of like chroma subsampling. Palette bit-packing is TODO but I suspect it will cut memory usage by at about half. Could maybe even drop material data entirely from voxel geometry and sample from source mesh/textures instead, somehow...)


r/VoxelGameDev • • Mar 17 '25

Media Another pic of my engine :)

Post image
334 Upvotes

r/VoxelGameDev • • Sep 09 '26

Question Camera cutout for voxels

333 Upvotes

What do you think about the new camera voxel cutouts both for simulation and editor parts of the game. The biggest problem with tight corridors. I tried to do whole voxel cutouts for the parts with character too, but it looked very misleading


r/VoxelGameDev • • Aug 24 '25

Media Blocky Planet — My take on spherical planets with cube-ish voxels (Unity)

328 Upvotes

r/VoxelGameDev • • Mar 06 '22

Media Our game Spaceflux has a Sandbox Mode, where you can build anything you want in impossible geometries

325 Upvotes

r/VoxelGameDev • • Sep 07 '26

Media Progress on my Outer Wilds-Inspired Voxel Game

291 Upvotes

r/VoxelGameDev • • Aug 26 '19

Media Virgin Minecraft Wannabe VS. Chad voxel god-realm

Post image
287 Upvotes

r/VoxelGameDev • • Oct 01 '26

Article Openworld space travel and spherical projection

286 Upvotes

In the game, Earth and the Moon are not simply objects placed in a space environment. They are actual spherical worlds that the player can fully explore.
The world is built using a chunk system indexed on a cube. This cube is then projected into a cube sphere to create the surface of each celestial body. This allows us to keep the advantages of a traditional chunk-based terrain system while still creating planets that are genuinely spherical.
From the player’s perspective, the ground is always locally flat. Chunks remain practical to build on and explore, just like in a traditional open-world game. But as you travel across the surface, the terrain gradually follows the curvature of the planet.
You can actually travel all the way around Earth and eventually return to the same place where you started. There is no invisible edge and no artificial boundary stopping you from going around the planet.
The same principle applies to the Moon. You can leave Earth, travel through space, reach the Moon, land on its surface and explore it just like another open world.
The interesting part is that these two things coexist: the player experiences a flat and familiar gameplay environment locally, while the world itself is built as a collection of real spherical celestial bodies.
If you want to experience the system for yourself, you can install the game now at play-Openworld.com.
Licenses are currently free, so this is a good time to give the game a try and explore the world for yourself.
Install the game, leave Earth, head for the Moon, and see how far you can go


r/VoxelGameDev • • Apr 22 '20

Media Demoing some of the lighting capabilities of my engine (colored shadows, reflection/refractions using voxel cone tracing, physics material point method and clustered shape matching)

286 Upvotes

r/VoxelGameDev • • Dec 27 '25

Media Chunks in my Voxel World are now Greedy Meshed, Millions of Triangles Reduced!

280 Upvotes

r/VoxelGameDev • • Jul 25 '25

Media I built a custom Rust + Vulkan engine to render this 100% procedural, cherry blossom biome!

273 Upvotes

Hey everyone!

I'm excited to share a quick stroll through a cherry blossom biome rendered by my custom Rust + Vulkan voxel engine. Everything you see is 100% procedurally generated—no imported models, just pure code!

Here’s a breakdown of the tech powering this world:

Key Tech

  • Engine: Built from the ground up using Rust + ash (Vulkan), featuring a real-time, path-traced voxel renderer.

  • Terrain: The world is generated using 3D fractal Perlin noise and stored in a massive 1024³ u8 volume, which creates the varied and natural-looking landscapes.

  • Acceleration: To make path tracing performant, I'm using a GPU-built sparse 64-tree for each 256³ chunk. This structure accelerates ray tracing by efficiently storing surface and normal data.

    • A special thanks to UnalignedAxis111 for his benchmark on different voxel data representations! Based on those results, this new sparse 64-tree outperforms my previous octree tracing shader, giving me a 10-20% framerate boost.

  • Chunk Culling: Before tracing, a DDA (Digital Differential Analyzer) algorithm runs against a low-resolution map to determine which chunks to render. This is a major performance saver and has proven to be even faster than using hardware ray tracing for regular chunks.

  • Collision: Player collision is currently handled with simple yet effective multi-ray distance checks from the camera.

  • Flora Generation:

    • Cherry Trees: Generated at runtime using L-systems, which allows for unique and organic tree structures every time.

    • Grass & Leaves: Rendered as instanced meshes. Their color and the wind-swaying animations are handled efficiently in the vertex shader. (Level of Detail/LODs are on the to-do list!)

  • Performance: It runs at a smooth ~110 FPS on an RTX 3060 Ti at 2560x1600 resolution (in a release build, and I get about a 10% boost without screen capture).

Up Next

I'm currently working on a few new features:

  • Water Rendering: This is my next big hurdle. I'm looking for best practices on how to render water that can accurately reflect thin, complex vegetation like grass and leaves. Any suggestions, papers, or articles on this would be amazing!

  • Particle System: To bring the scene to life, I'll be adding a particle system for falling cherry blossom petals and drifting pollen.

  • More Variety: I plan to add more types of flowers, leaves, and trees to enrich the environment.

Stay tuned for more updates. I'd love to hear any feedback or suggestions you have. Thanks for checking it out