0
$\begingroup$

I've been trying to bake some color masks into my diffuse texture in Cycles Render, and it generally works.

The problem is that the baked texture always looks completely different from the original, even when the only thing I connect it to is a diffuse or Principled BSDF shader. I'm using the Diffuse Color bake type (no direct or indirect lighting).

Original image texture (left) and baked image texture with only Principled BSDF shader (right):

Original image enter image description here

I've circled and annotated most of the changes in the baked texture below:

enter image description here

a) The entire black area is gone and the dark and light grays of the diffuse bleed into it.

b) There is now some noticeable light grey patch in this area.

c) The once straight, linear edges in this section are now gone or heavily deformed.

d) The shape of the texture where the grey meets the dark grey is filled in and bleeds over another black part of the circled area.

e) The black portion is noticeably smaller and shaped differently.

f) There is no longer a straight divide between the light grey and dark grey in the circled area.

Here are my settings:

enter image description here

EDIT: I tried adjusting the margin from 16 to 4 pixels, but it seems like it's only modifying how much of the texture changes and cuts some parts of it out. Here's the baked texture with a 4 pixel margin prior to baking:

enter image description here

(Notice the green to red spectrum is cut off in the corner.)

$\endgroup$
  • 2
    $\begingroup$ Hard to spot the differences between those textures, maybe you can elaborate? You can do so by using the edit link at the bottom of your question. $\endgroup$ – metaphor_set Apr 13 at 11:24
  • $\begingroup$ @metaphor_set I added an image of the baked texture with most of the notable changes from the original texture circled in red. $\endgroup$ – Lord Nazo Apr 13 at 21:07
  • $\begingroup$ @metaphor_set I clarified what parts of the image look different from the original, so (hopefully) you can see what I'm talking about. $\endgroup$ – Lord Nazo Apr 13 at 23:42
  • 1
    $\begingroup$ Hello. Did you try to play with the Margin? I think it is too high. $\endgroup$ – LeoNas Apr 14 at 2:29
  • $\begingroup$ @LeoNas I did not think of that, but it just slightly reduces or modifies the deformation of the texture. It still doesn't look like the original image texture. $\endgroup$ – Lord Nazo Apr 14 at 8:16

Your Answer

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

Browse other questions tagged or ask your own question.