Texture paint: properly implement image slots for principled BSDF node.
authorSebastian Parborg <zeddb>
Mon, 10 Sep 2018 16:18:04 +0000 (18:18 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 10 Sep 2018 16:56:54 +0000 (18:56 +0200)
commit86aa621f4b2751fc1eae2b0a4e6f31c99f5f9665
treeebd3a0ab1b609ef241b76619a3a4a14137e32604
parent49dee07e9c6ab385152a7bb441c65d5488c97789
Texture paint: properly implement image slots for principled BSDF node.

Now we can create new base color, roughness, metallic, specular, normal,
bump and displacement images, and linked them to the appropriate socket.

Also fixes image nodes inside groups not being visible.

Differential Revision: https://developer.blender.org/D3679
source/blender/blenkernel/intern/material.c
source/blender/editors/sculpt_paint/paint_image_proj.c