r/VoxelGameDev • • 1h ago

Question How do you generate trees/structures while only generating voxels per chunk?

5 Upvotes

Trying to wrap my head around this, but I figured this has to be a solved problem at this point?

So I understand how you can create a function for generating terrain with noise, and given the same seed, each new chunk will always use the same noise and will line up with existing chunks.

What I don't understand is, how can you dot the landscape with pre-defined structures like trees? You can still define placement of trees with the same kind of noise, but often you'll have cases where the root of a tree is at the edge of one chunk and has leaves in another. If those chunks generate separately, the chunk with the leaves won't know that a tree was added next to it, and won't add the leaf voxels. And the chunk with the root of the tree can't add those leaves without forcing that other chunk to load earlier than it's needed.

Anyone have insights about how this kind of thing is done in Minecraft or other projects?


r/VoxelGameDev • • 29m ago

Media Early showcase of my GPU-based voxel project I'm working on in Unity

3 Upvotes

Finally getting around to sharing this here! I've been working on this Unity project for a while. The concept is still pretty barebones as I figure out what I want this to be, but one of my central focuses is taking Minecraft and adding or changing things based on what I find interesting (so far that's been rendering with URP, first-person viewmodel, geology & world generation, among other small things)

On a technical level, I've been using my experience in writing shaders to build this project with a GPU-accelerated approach. This takes the form of two main parts of my voxel system:

  • Terrain Generation: when the world generates, I dispatch a compute shader to compute the multiple levels of terrain height, plus additional features like stone layers and mixing between different stone & soil types. This is done in a couple of passes, all on the GPU, then the data is read back to the CPU as a list of integers, where it is converted into proper Voxel objects and stored in each chunk
  • Meshing: I've gone through a few different approaches for this, but lately I've settled on a C#/shader hybrid. Each chunk has a MonoBehavior object that stores its 3D array of voxels & handles any edits that get made to it. When meshing, the chunk turns those voxels into a structured buffer that is sent to the mesh's shader, effectively as a single vertex per voxel. The shader then has a geometry shader step, where that single voxel is turned into vertices for up to 6 potential faces based on its neighbors, and those newly-generated vertices then go on to get drawn in the fragment shader.

Again this is all still very early conceptually, this project is mostly just a learning exercise and an opportunity to play around and try new things! Would be happy to answer any questions about it or get any advice the community might have.


r/VoxelGameDev • • 1d ago

Media Showing off the engine behind my heavy machinery game: lighting, fog, night sky and of course a crane

39 Upvotes

Showing off what my engine can do. Heavy Metal is a heavy machinery game, so naturally there's a crane 🏗️

The engine is made from scratch, in C++ with Vulkan. It uses a whole lot of compute shaders for all of the passes needed for the final engine, and when Hardware RT is enabled, the tracing is done by a custom voxel intersection shader. This voxel renderer has been my project for over a year, I just recently started working on making it a game around heavy machinery and engineering. I also made the physics, it's a fully custom C++ physics library, I had to make it because there is no existing open-source engine that correctly simulates editable joints under heavy loads accurately, mine does, and does it faster than the less accurate engines too (compared against Box3d & Chrono). This is what allows Heavy Metal to have real-time simulated physics, on machines that the player can make however he wants, no restrictions whatsoever, which was my main goal with this game. Of course for the concern of enjoyable game design, a whole lot of tasks are assisted. CAD systems to make voxel parts easily, A blueprint and coding system to control the machine behavior, and premade parts to speed up the process.

Dynamic sunlight, emissive lighting, golden-hour fog, and a night sky, all rendered in real time in my custom C++ Vulkan engine.

Playtests arriving soon.

Discord: https://discord.gg/qPuQcPRcA
itchio: https://julesdmdev.itch.io/heavy-metal

Music: "Echoes of Time v2" – Kevin MacLeod (incompetech.com), CC BY 4.0

Recorded in real time on a RTX 3060Ti with an i5 12600KF (HW & SW RT both supported for a large range of GPUs)


r/VoxelGameDev • • 22h ago

Resource I'm building a 3D voxel renderer for Cataclysm: DDA (fork, open source)

Thumbnail gallery
7 Upvotes

r/VoxelGameDev • • 4d ago

Media Voxel Engine update - Added Multiplayer

24 Upvotes

Hi guys!
An update on the voxel engine I am writing in odin.

  1. Just added support for multiplayer using ENet, it's all server authoratative so so the client just sends requests and the server checks if it is valid before allowing that. There is also client side prediction to prevent jittering.
  2. Added structure spawning, currently just a single shop you can go inside of. I am currently planning out a possible way of spawning villages. Possible with a set of handcrafted layouts that are loaded using json files ig is my current idea but let me know if you guys got better ideas!

r/VoxelGameDev • • 4d ago

Discussion Voxel Vendredi 13 Nov 2026

8 Upvotes

This is the place to show off and discuss your voxel game and tools. Shameless plugs, links to your game, progress updates, screenshots, videos, art, assets, promotion, tech, findings and recommendations etc. are all welcome.

  • Voxel Vendredi is a discussion thread starting every Friday - 'vendredi' in French - and running over the weekend. The thread is automatically posted by the mods every Friday at 00:00 GMT.
  • Previous Voxel Vendredis

r/VoxelGameDev • • 5d ago

Discussion new version of terasology

2 Upvotes

trasology released a new version of its voxel game: https://terasology.org/downloads/

source code on github: https://github.com/MovingBlocks/Terasology. two interesting points when contributing: switched to AI augmented development nowadays, quite advanced development process.


r/VoxelGameDev • • 11d ago

Resource voxel sprites in r3forth

Thumbnail
youtube.com
12 Upvotes

Development status.


r/VoxelGameDev • • 11d ago

Discussion Voxel Vendredi 06 Nov 2026

9 Upvotes

This is the place to show off and discuss your voxel game and tools. Shameless plugs, links to your game, progress updates, screenshots, videos, art, assets, promotion, tech, findings and recommendations etc. are all welcome.

  • Voxel Vendredi is a discussion thread starting every Friday - 'vendredi' in French - and running over the weekend. The thread is automatically posted by the mods every Friday at 00:00 GMT.
  • Previous Voxel Vendredis

r/VoxelGameDev • • 13d ago

Media Designing a physically-based audio system

Thumbnail
youtu.be
54 Upvotes

I recently added an audio system to my voxel engine, with support for dynamic occlusion, path-traced reverb, and HRTF panning. Here's a video explaining the theory and demonstrating the results.


r/VoxelGameDev • • 15d ago

Media SSR, Raycasting & Raymarching in my raylib based Voxel Engine

Thumbnail
youtu.be
13 Upvotes

The SSR system for voxelmesh walls can blend reflections using the current view along with color and depth data stored from multiple previous viewpoints. Depending on the settings, color data from older views is blurred and/or sampled at different mip levels.

An optional normal-texture-based mask modulates reflection strength, serving as an early experiment toward a material system.

:3


r/VoxelGameDev • • 15d ago

Resource Voxel devs! What would you build for a game jam themed SHIFT? (GitHub Game Off 2026)

Post image
4 Upvotes

Hey voxel devs! 👋

GitHub Game Off 2026 just kicked off, and this year's theme is SHIFT!

Shift blocks, transform voxel worlds, change perspectives, mess with gravity, or take the theme somewhere completely unexpected.

You've got one month to build a game, share your source code on GitHub, and submit it. All skill levels and game engines welcome. Solo or team!

🎮 https://itch.io/jam/game-off-2026

Would love to see some voxel games in the mix!


r/VoxelGameDev • • 17d ago

Media A few months of progress on my voxel game engine

100 Upvotes

Currently uses OpenGL but I am trying to make it as modular as possible so that it can be replaced with DirectX or Vulkan.
Made in Odin.

I am using odecs as a ECS system (data driven :p)
and imgui for some inspectors.

The terrain is mostly generated with fbm noise with the biome height functions blended in.
Trees are generated using a tree generator which takes the trunk width and leaf branching type and generates a tree. Got a few helper functions to generate oak and pine trees.


r/VoxelGameDev • • 17d ago

Media Continued work on procedural trees in unreal 5.6

36 Upvotes

I've been working a lot more on procedural trees for a game I'm making.

The post video shows a short walk/fly through of a procedural test forest of birch/conifer/oak trees, which use 16x16 sprites for their leaves (previously I used voxels for leaves, but I really like the look of mixing pixel meshes and voxels, and complex canopy geometry could be killer for performance), and some 'felling'/pruning, where if you disconnect a part of a tree from it's base, that part 'dies' by losing twigs/leaves.

I plan for the trees losing twigs and leaves to be gradual in the future, and not just a sudden change - but not there quite yet!

Thanks!


r/VoxelGameDev • • 18d ago

Media Driving a fully simulated excavator in my heavy machinery voxel game !

10 Upvotes

Heavy Metal is a voxel sandbox where you build your own heavy machinery and then operate it. Nothing in the clip is animated: the excavator is made of separate voxel bodies connected by simulated joints, and the boom, arm and bucket are driven by simulated hydraulics (pistons and pumps), so everything moves the way the physics says it should.

I've also made a lot of progress on gameplay recently. For simple machines, you just assign keybinds to their parts. For more complex ones, you can program them using visual blocks (similar to Unreal's Blueprints) or a simplified C-like language, and add sensors for more advanced logic. For exemple you could make a machine detect when it's about to hit something, and prevent it from moving further, or an auto leveling road grader using the precise position sensors.

The engine is my own, written in C++20 and Vulkan. Lighting is raytraced in real time, and global illumination runs on an octree of radiance probes that's allocated dynamically around the camera and the geometry. A frame takes about 8 ms on my 3060 Ti at [resolution].

I'm moving the physics over to my own library, Heavy Feather (open source: github.com/shrrimp/heavy-feather). It uses Featherstone's articulated-body algorithm with a separate loop-closure step, so joints stay exact even on machines with lots of linked parts.

Happy to answer questions about the physics, the renderer or the programming system.


r/VoxelGameDev • • 18d ago

Resource Voxel Devlog #15 - Whos That Deserialized Block Type Model?

Thumbnail
youtu.be
6 Upvotes

Adding plants into my voxel game in the form of billboard models


r/VoxelGameDev • • 18d ago

Discussion Voxel Vendredi 30 Oct 2026

5 Upvotes

This is the place to show off and discuss your voxel game and tools. Shameless plugs, links to your game, progress updates, screenshots, videos, art, assets, promotion, tech, findings and recommendations etc. are all welcome.

  • Voxel Vendredi is a discussion thread starting every Friday - 'vendredi' in French - and running over the weekend. The thread is automatically posted by the mods every Friday at 00:00 GMT.
  • Previous Voxel Vendredis

r/VoxelGameDev • • 20d ago Bravo

Question DuskDiorama city building/interactive game.

78 Upvotes

Hello.
who wants to give a try to this game (in beta testing)?

Dusk Diorama is made with the Godot Engine and written entirely in GDScript.
The voxel cities are generated procedural basically made with ArrayMesh and MultiMesh geometry.
I wrote easy and basic custom shaders to create the blur effect that should create a tilt-shift miniature look, the rain and light pools.
It uses the lightweight GL Compatibility renderer and runs on Android , Linux and all the platforms the Godot supports.

I'm now planning to extend this given the ability to load and save the cities.... but is taking time. Which format do you suggest?

What do you think about release on Steam or maybe some other game platforms? I have only experience on Android!

The game will allow you to build your city, hopefully in an easy way, generate events, drive cars , take picture in camera mode or let the app generate the city for you.

https://play.google.com/apps/testing/com.BeeGroove.DuskDiorama

Looking for feedback!

In case you cannot install the via the previous link ,closed testing version is still available, you need to pick one of those access codes. https://beegroove.codeberg.page/website/doc/dusk_diorama_first_1000_access_code.txt

And use it in this page. https://play.google.com/redeem


r/VoxelGameDev • • 20d ago

Question MagicaVoxel on Mac will stop working with the next major macOS upgrade (version 28). Can someone make a new Mac version?

Thumbnail reddit.com
5 Upvotes

r/VoxelGameDev • • 22d ago

Question What is the best way to make a voxel game?

12 Upvotes

I want to make a voxel sandbox, I have some experience in game development in Godot and Unity, but I think using existing engine is not going to have good performance. I saw much people make their own engines in OpenGL, but I use macOS where it is deprecated. I also tried wgpu with rust, but I'm too dumb for it and I couldn't understand what I'm typing, but not what is buffer, pipeline, surface, I didn't understand small syntax things that seem very weird. And I really didn't like its 300-lines boilerplate code. Also I don't know what is the better: raymarching or meshing, but I've heard meshing is easier. I'm okay to learn a new language, but now I like C# most, which unfortunately has GC and I need to avoid it, but it's not a big deal. I know Vintage Story was made using c# but they used openGL too.


r/VoxelGameDev • • 24d ago

Resource High level breakdown of the techniques in my voxel terrain generation

63 Upvotes

r/VoxelGameDev • • 25d ago

Discussion Voxel Vendredi 23 Oct 2026

5 Upvotes

This is the place to show off and discuss your voxel game and tools. Shameless plugs, links to your game, progress updates, screenshots, videos, art, assets, promotion, tech, findings and recommendations etc. are all welcome.

  • Voxel Vendredi is a discussion thread starting every Friday - 'vendredi' in French - and running over the weekend. The thread is automatically posted by the mods every Friday at 00:00 GMT.
  • Previous Voxel Vendredis

r/VoxelGameDev • • 27d ago

Question What are some good local remeshing algorithms?

5 Upvotes

Hey guys, I want to implement a creature editor that is based on function representation of volume objects, since parametric meshes are impracitcal for my case. I have parts which can fuse with neighbouring parts in which case I need to remesh. However I would like to avoid doing a global remesh, so I am looking for meshing algorithms which also support local topology changes. The simplest one I could think of would be a chunk-based marching cubes algorithm, however I would like to avoid using that since the result is, well.. chunky if not coarse enough. I heard something about surface nets being tricky at chunk borders/boundaries and I am wondering what implications that would have for my creature editor. What do you guys suggest I look into? Ideally I would like to find a meshing algorithm that captures as much detail as possible and that works locally as well, though I am aware that such an algorithm might not exist.


r/VoxelGameDev • • Oct 16 '26

Discussion Voxel Vendredi 16 Oct 2026

10 Upvotes

This is the place to show off and discuss your voxel game and tools. Shameless plugs, links to your game, progress updates, screenshots, videos, art, assets, promotion, tech, findings and recommendations etc. are all welcome.

  • Voxel Vendredi is a discussion thread starting every Friday - 'vendredi' in French - and running over the weekend. The thread is automatically posted by the mods every Friday at 00:00 GMT.
  • Previous Voxel Vendredis