Added a meshing algorithm that works alright with transparency