draw cube with texture
fix depth buffer