franMarz / TexTools-Blender

TexTools is a UV and Texture toolset created several years ago for Blender and Max by @renderhjs. In this open repository, originally created by @SavMartin, we develop the current version of this popular Blender add-on.
Other
1.99k stars 135 forks source link

Wrong Material ID Map baking output. #61

Closed Losco-Nosciuto closed 3 years ago

Losco-Nosciuto commented 3 years ago

image As can be seen here, Wrong Material ID palette is still being used, so bug still persist, making as now, ID making useless unless post-processed by hand on Photoshop.

The issue is not only in the discrepancy of the palette, but also with the actual colors used, which mostly are slightly different shades of the same 3 colors.

Result has been retried on all 3 my computers.

NVidia GPU / INTEL CPU AMD GPU / INTEL CPU NVidia GPU / AMD CPU

franMarz commented 3 years ago

You're not getting how Color ID works. you have to assign the color to your object/selected faces if you want them to be baked with the set of colors, and change the bake mode to diffuse. Not very useful, but works as originally designed (again, read http://renderhjs.net/textools/blender/) Material ID is being reworked, until I don't test it properly, I won't update de addon. With the new code, the randomly assigned colors should be as different as possible from one another.

franMarz commented 3 years ago

You can test the future additions by installing this upcoming version of TexTools: https://github.com/SavMartin/TexTools-Blender/archive/material-ID-fixes.zip. As I said, probably no bugs free for now.

Losco-Nosciuto commented 3 years ago

image

Thanks for clarifying But I still get half baked maps, even tho materials are setup correctly. I removed all previously added materials, and assigned new colors from a clean mesh. Seems like it ignores 2 of 5

franMarz commented 3 years ago

Yes, but thas is a different problem now. I think that is a issue I noted a few days ago with diffuse baking, sometimes some materials are straight ignored, sometimes all objects are baked. It only happened to me in a multi-object bake setup. I'll dig into it soon.

franMarz commented 3 years ago

Fixed in the latest release.