Principled shader on 2.79 Linux Mint

(MC78) #1

Hi all,

I use Linux Mint, I downloaded this version of Blender “blender-2.79-linux-glibc219-x86_64.tar.bz2” but afert istalling it, in node editor material shift+a shader I don’t find the principled shader.

Does anyone have the same problem?

Thank you

(Photox) #2

I’m running Mint and I downloaded the tarball and opened up 2.79 and the principled shader is there and works for me. Both with shift a and with the menu.

(Photox) #3

Are you maybe in compositing mode?

(MC78) #4

No no… is the shader mode, sure!

(Photox) #5

Not sure what to think, it’s there on my machine running Serena 18.1.

(Secrop) #6

Seeing that your add menu is not in sorted alphabetically (blender’s default behaviour), makes me think that you or some addon have changed the NODE_##_category_SH_NEW_SHADER classes… Probably some addon that was coded for a previous Blender version where the Principled was not present.

Check the bpy.types if the ShaderNodeBsdfPrincipled class is there, or try to add it to your material through the python console with:


(MC78) #7

I type in console and:

Traceback (most recent call last):
File “<blender_console>”, line 1, in <module>
KeyError: ‘bpy_prop_collection[key]: key “MaterialName” not found’


(MC78) #8

Very misterious … most particular add on is b4web, animation node, manuel bastioni lab, hard ops… do you thinks I have to try uninstalling them?

(Secrop) #9

You must use the material’s name, not “MaterialName”… if it’s still the same from the screenshot, you need to use: …materials[‘Material’].node_tree…

About the addons… try to update them to the newer versions… or look into them to check which one is playing with the nodeitems_utils

(MC78) #10

Yessss… disabling some add on, Principled Shader exist! Thanks, thanks, thanks!!!

(Secrop) #11

If you still need to use that addon, you may need to change the code accordingly to make it compatible with the new Can you tell us which one was the culprit? we could patch it for 2.79+.

(MC78) #12

Culprit in my case: Blend4Web (I have v 16.12.1) on Linux Mint 18.1 Serena (64bit)

Thanks so much!

(Secrop) #13

ohh yes… they use the nodeitems in a very unfriendly way…
Updating blend4web to the 17.12 will include the Principled in the add menu, but it will still block any 3rd party nodes you may have.