Maniphest T80733

Baking texture is black
Closed, Archived

Assigned To
Richard Antalik (ISS)
Authored By
RH (wolfv2)
Sep 12 2020, 8:33 PM
Tags
  • BF Blender
Subscribers
Diogo Valadares Reis dos Santos (DiogoX2)
Germano Cavalcante (mano-wii)
RH (wolfv2)
Richard Antalik (ISS)

Description

System Information
Operating system: Windows10
Graphics card: GEFORCE GTX 970M

Blender Version
Broken: 2.90

Short description of error
Baking a texture always turns out black, when using Principled BSDF shader with Metallic setting used

without Metallic it works fine

Exact steps for others to reproduce the error
I attach a file, but you may have to replace the texture

also I attach two images, with one showing bug and one working{F8869290}

Event Timeline

RH (wolfv2) created this task.Sep 12 2020, 8:33 PM
Diogo Valadares Reis dos Santos (DiogoX2) added a subscriber: Diogo Valadares Reis dos Santos (DiogoX2).Sep 13 2020, 1:21 AM

I already had problems trying to bake stuff too, usually I have to put the texture in a diffuse BSDF in order for it to work, also I think its not only with metalic on that it stops working: https://blender.stackexchange.com/questions/95328/cycles-baking-diffuse-result-is-always-black, but I don't know if it is a know issue/limitation of baking.

Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).Sep 15 2020, 6:49 PM

I don't know how Princible BSDF works internally, but I think that if the material is 100% metallic, then it is 0% diffuse. Therefore, the diffuse channel turns black.

I don't think this is a bug.

Richard Antalik (ISS) closed this task as Archived.Sep 16 2020, 2:58 PM
Richard Antalik (ISS) claimed this task.
Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).
In T80733#1016395, @Germano Cavalcante (mano-wii) wrote:

I don't know how Princible BSDF works internally, but I think that if the material is 100% metallic, then it is 0% diffuse. Therefore, the diffuse channel turns black.

I don't think this is a bug.

This is correct. See https://docs.blender.org/manual/en/dev/render/shader_nodes/shader/principled.html#inputs and https://docs.blender.org/manual/en/dev/render/cycles/baking.html#bake-types

You can look at diffuse color pass and tweak metallic property and see that it goes to pure black.