This another part of my 3D engine to make any 2d image 3D. This cube consists of 2 image to make up the center and the top and bottom.
Change the variables to make it less laggy (peticularly 'offset') Dont worry its even laggy on my gaming desktop!