A little experiment: Madrid, my beloved hometown, voxelized and raycast in my old voxel-streaming/GI engine. #gamedev #indiedev #solodev
A little experiment: Madrid, my beloved hometown, voxelized and raycast in my old voxel-streaming/GI engine. #gamedev #indiedev #solodev
0 views
Published on 03/12/2026 01:19
3:58
A little experiment: Madrid, my beloved hometown, voxelized and raycast in my old voxel-streaming/GI engine. #gamedev #indiedev #solodev
1 comment
?
The geometry comes from Madrid's Malla 3D durvey, voxelized at 30x30x30cm. Then diced into tiles at different mip levels, each baked with occupancy bitmasks, so rays skip empty space a whole block at a time.
Each px fires a ray in a compute shader and walks a bitmask hierarchy. The 1st hit writes rgb/N/depth/vxlid. Then a 2nd ray toward the sun gives the shadow. Bounced light comes from a per-voxel cache in world space: each frame a budget of voxels traces a few rays, and it accumulates across frames.