How to unfold mesh with a principled BSDF material onto a flat object in 2.8? I'm trying to unwrap an image that I've applied to a mesh with a Principled BSDF shader. Here is the material node graph:



Is there a way to include the material I've applied to my icosphere in the UV unwrap?

Here is the UV map I want to unwrap to:
Add an image texture node
Click on new on it and create a picture file, this node must be active (select it)
Switch to Cycles render
Decrease the render sampling to 1
Select diffuse in the Bake tab and select only Color for the influence
Click on Bake then save the baked picture