1
$\begingroup$

I have a slice of bread inside a crusty loaf. Enclosed is the image (the outside crusty loaf is not shown) and the node editor.

The outside crusty loaf is completed. The problem lies only with the slice of bread, to which I wish to add shiny gold material, so that it looks as a slice of bread made of shiny gold.

I’d appreciate any advice, showing me how to do that.

Thank you,

Bread image and the Node Editor

$\endgroup$
  • $\begingroup$ try adding a Mix Shader and using your existing Diffuse BSDF as one input and add Glossy Shader as the other setting the colour appropriately. To get a good reflection set your background to an HDR $\endgroup$ – rob May 28 '19 at 17:11
  • $\begingroup$ rob, thank you for your comment. Unfortunately, it doesn't do the job. $\endgroup$ – CGPrince May 30 '19 at 17:54
2
$\begingroup$

As a rough first shot:

  • Use a tool like Materialize to generate a pseudo-height map from your diffuse image of the bread
  • Having UV unwrapped your slice you can use the height map to bump-map the surface of the slice using a simple set of shader nodes something like this...

enter image description here

Here, if the height is less than a threshold, a fully transparent material is substituted for the gold, so as to poke holes in the bread. You might feel you need actually to displace the surface of the slice in shading, too, if your shot is close-up, or at a raking angle.

Once you've provided an HDR environment to reflect from the metal surface, you get this sort of result.

enter image description here

As for the metal itself, you could substitute this principled shader for something more sophisticated: from approximating physically accurate to quite convincing.

$\endgroup$
  • 1
    $\begingroup$ Robin Betts, thanks a lot for your detailed and enlightening answer, which I followed and which yielded an excellent result. Thank you. $\endgroup$ – CGPrince May 30 '19 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.