0
$\begingroup$

The Principled BSDF node has the socket inputs named Normal, with python I checked the values ​​are set to (0, 0, 0)

To check I did:

>>> bsdf = C.object.active_material.node_tree.nodes['Principled BSDF']
>>> print(bsdf.inputs['Normal'].default_value[:])
>>> (0.0, 0.0, 0.0)

If I connect a "Reroute" socket nothing happens.

However, if I connect a group node with values ​​of 0,0,0 the normal seems to mess everything up.

Does anyone have any idea why and how to fix it with right default_value?

This is the Example:

enter image description here

Note This problem only happens with Eevee and not in Cycles.

$\endgroup$
2
  • $\begingroup$ Off the top of my head, the default normal should be 0,0,1. $\endgroup$
    – Ron Jensen
    Commented May 4 at 6:20
  • $\begingroup$ I think there is something wrong with Eevee, as this in Cycles leaving the values ​​at 0,0,0 seems to not create problems. $\endgroup$
    – Noob Cat
    Commented May 9 at 8:01

1 Answer 1

1
$\begingroup$

I came across this tip in the Blender Docs today:

If the Height input is not connected, the (Bump) node becomes a no-op that outputs its Normal input as is, or defaults to the geometry normal if not connected. Routing a node group input via a no-op Bump node before doing math effectively makes it default to normal.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .