slightly more robust leaf texture generation