Principled Baker - Bake PBR textures with a few clicks (for 2.80 and 2.79)

Hey Daniel, love the add-on, super helpful for making game assets and stuff! I’ve been using 2.79 version of the tool for some time now, and yesterday downloaded the latest build Principled Baker 2.80.

However the new version keeps bugging me about ‘permission denied’ when trying to bake. The output folder for the textures does not seem to make a difference for the permissions. I’ve tried to change the output from my local folders to cloud folders and even straight to external media (usb) but just cant make it bake anywhere.

I do not think my computer has any restricted permissions so I wonder why that error keeps popping up. Im using MacOS 10.13.6 High Sierra running Blender 2.80 (sub 75) version. Also tried with the new experimental 2.81-alpha build but it has the same ‘permission denied’ problem.

Have you encounterd or heard about this before?

-Kimi

1 Like

Thanks for reporting! This looks like a bug.
The permission checking might be a bit too harsh. I have no Mac for testing, but I’ll try to fix this as soon as possible next week.

:As a quick workaround, you could do this:

  • go to your blender scripts/addons folder
  • open pbaker_bake.py in the principled baker add-on folder
  • replace check = self.check_file_path() with check = True (or remove/comment out the block under the comment # Check file path)

I’ve put this quick fix in an other branch: https://github.com/danielenger/Principled-Baker/tree/permission-workaround

3 Likes

Incredible! Thank you so much, works like a charm now!

1 Like

update 0.5.2

  • detection of value differences option
  • detection of connected nodes option

The update is for 2.80 only, too.

2 Likes

update 0.5.3

  • missing return True in file path check

Please update! Version 0.5.2 is broken.

2 Likes

update 0.5.4

  • alpha to color not working

Change a little. Break a little. :crazy_face:

2 Likes

i been playing with this addon for a few days, is a must for game production like texture atlasing!

Is there a way to bake in different channels (like roughness in alpha channel and specular to R-channel) for texture optimizatión?

Yes, there is. Scroll all the way down to the second last panel “Combine Channels” and combine baked results to your liking. Here is a quick howto combine channels.