Image-based material editing