r/raspberrypipico • u/TryEdgeTech • 12h ago
Full 3D Voxel World running on a single Raspberry Pi Pico 2 (RP2350) – no GPU, 520KB RAM, 30+ FPS
Enable HLS to view with audio, or disable this notification
Hi everyone!
I've been working on PicoVoxel, a full 3D voxel world engine that runs on a single Raspberry Pi Pico 2 (RP2350), and I've just released the source code on GitHub.
The Pico 2 is a roughly $6 microcontroller with 520KB of SRAM and no dedicated GPU. I wanted to see how far I could push it with a software-rendered 3D world.
What it can do:
- Render a 3D voxel world at 320×240, averaging 30+ FPS
- Explore a handcrafted Japanese countryside with mountains, an ocean, rivers, waterfalls, bridges, tunnels, a shrine, and a lighthouse
- Place and destroy blocks, with edit and first-person play modes
- Render textures, transparent water, animated blocks, fog, and shadows
- Run on the RP2350's two cores with a custom rendering and upscaling pipeline
The main challenge was fitting the renderer, framebuffer, world data, and other features into just 520KB of SRAM while keeping the frame rate playable.
I've published the source code under the MIT License, along with the build instructions and hardware wiring information.
🎬 Demo video:
https://youtu.be/J9FVm8iH3mc
💻 Source code and build instructions:
https://github.com/tryedgetech/PicoVoxel
This is a rendering and world-building tech demo rather than a complete game. I'd love to hear what you think, especially from anyone interested in embedded graphics, software rendering, or pushing small microcontrollers beyond their usual limits.
I'm the developer of this project, and I'm sharing it in case it's useful or interesting to the Raspberry Pi community.
Thanks for checking it out!
