I need to draw voxels using a float array like this:
{ v1.x, v1.y, v1.z, v1.size, v2.x, [...] }
which in my case, for testing purposes looks like this:
{ -0.6f, -0.4f, -0.0f, 1, 0.6f, -0.4f, -0.0f, 1, 0.f, 0.6f, -0.0f, 1, }
How do I load those up to the GPU and how do I then get the position and size values in the shaders?