Lerp / blend nodes with material functions don't work

Zbluu
Sun, 17 May 2020 18:02:41 +0000
Rendering

The lerp and blend nodes are broken when used with material functions. When alpha equals to 1, the node returns the input “A” instead of the input “B”.

1 - Steps to Reproduce

In a new project (4.25 ONLY), create a two material function that return two different color (ex: one for red and one for green). Drag and drop these 2 material functions in a new material. Attach a lerp node (ex: green on “A”, red on “B”) and set the “Alpha” to 1.

2 - Results

With an alpha equals to 1, the lerp node returns the color of the material function connected to the input “A”.

3 - Expected

With an alpha equals to 1, the lerp node should return the color of the material function connected to the input “B”.

See this image with preview nodes :

As you can see, the result at the top is green isteand of red.

9 posts - 4 participants