A downloadable demo for Windows and Linux

Modern Voxlap is a rendering demo that is one part re-implemented Voxlap engine, and one part Vulkan code.

To be precise, it does ray casting on the CPU to generate a ray map (accessible from the demo by pressing P), then it projects it onto a screen quad on a GPU using a fragment shader. The latter step is done on a CPU in the original Voxlap engine.

Features

  • Multithreading: uses all cores for rendering
  • Uses a GPU shader for projection
  • Can combine rasterization for models and raycasting for the world
  • No artifacts when looking directly up or down
  • No crashes when looking from inside a solid

Non-features (TODOs)

  • Level of Detail (LOD)
  • Optimizations
  • Rasterization doesn’t use a depth buffer from the raycasting step
  • Edits to the world
  • Lighting

These features really should be present in a serious engine, but I wanted to put a logical pause on the project because I have real-world stuff to attend to, instead of voxel engines.

Source?

I was planning on maybe making a game with it – so I am sorry, not yet, maybe later! In the meanwhile, you can take a look at the Voxlap engine ported to modern systems here. The source of the latter part of the rendering process is also available in the fork.

Credits

Download

Download
dagame-1.0-windows.zip 11 MB
Download
dagame-1.0-linux.zip 3.6 MB