But computers render triangles! That's what they do.
Indeed. What I meant was not to abolish triangles, just to consider a voxel an elementary object, not as a cube with 6 faces that can have different colors on each side. My voxels are intended to have only one color overall.
I decided, that YEAH, I'm going to use OpenGL. But in the meantime, while I'm getting used to it, I made a terrible renderer, just to show how I want the result to be. It's pretty unoptimised, but it works.
As you can see, each voxel have only one color, but it's possible to have a smooth shading. What I did there is creating a rgb gradient. To demonstrate.