I recently started on the creation of my own little Voxel engine for fun. I am trying to use VBOs, since I have never used them before and they are much faster then immediate rendering, however I am not exactly sure how I am supposed to go about doing this. I have managed to get a single cube to display, but I have no idea how to go about rendering many cubes. Do I create one VBO and edit coordinates and Texture of the VBO for every cube rendered somehow? Do I have an individual VBO for each cube (seems inefficient, so I doubt it)? Does anyone have any experience with this or any advice on how I should do this? Thanks, all help is appreciated!
Put data just like you did with one cube, but do it for all cubes with the same VBO.