Added 2d texture support to renderer3D