Hey there,
I am trying to lerp two normal maps. Not combine, but lerp / mix. Unfortunately the Color Math in BlendLuxCore doesn't support it, it says Wrong Input. Is there a way to do the normal map conversion later in the node tree and not in the Image node, so I can do normal maps operations?
Thanks!
Normal map operations
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: Normal map operations
First, you can use the color math node for this, the warnings on the sockets are just UI warnings. And in this particular case, because the color math node is just a different UI for the same textures used internally in the (float) math node, it works.
The recommended way is to use the math node in mix mode.
This makes it clear to anyone opening the file that this is not a mistake and that the operation will work.
Make sure to set your imagemaps to gamma = 1 if you use this.
The recommended way is to use the math node in mix mode.
This makes it clear to anyone opening the file that this is not a mistake and that the operation will work.
Yes, there is a normalmap node that takes color as input and outputs bump. However, it is not accessible through the "add nodes" menu because it confused too many users. You can add it by typing this into a Blender Python console:Is there a way to do the normal map conversion later in the node tree and not in the Image node, so I can do normal maps operations?
Code: Select all
D.node_groups['your material'].nodes.new("LuxCoreNodeTexNormalmap")
Re: Normal map operations
Awesome B.Y.O.B., thank you.