Did most of the stuff on geometry shader, except it's too big so will have to put the triTable array stuff into a texture