Implement cube with texture.