Fix #104941: Node Wrangler cannot use both bump and normal
commitd50d3f2734402ad9dfa33851587053dadc615b9d
authorDamien Picard <dam.pic@free.fr>
Wed, 20 Dec 2023 16:19:19 +0000 (20 17:19 +0100)
committerDamien Picard <dam.pic@free.fr>
Wed, 20 Dec 2023 17:57:10 +0000 (20 18:57 +0100)
tree9c4dfc1f9e44ce4fb48524d4ddc38a2c6abf1ffe
parent9f6d4b718ab8c3dd7582ec6670f81196e78df401
Fix #104941: Node Wrangler cannot use both bump and normal

Currently, if both bump and normal maps are selected in Principled
Setup, only one of them will be used. But they can both be used in a
PBR setup by plugging the normal output to the bump input.

See for instance Brecht's answer at
https://blender.stackexchange.com/a/16447.

This commit separates setup of bump and normal so they can both be
used at the same time.
node_wrangler/__init__.py
node_wrangler/operators.py