Blending multiple normal maps
Posted: Thu Jan 18, 2018 11:15 pm
Hi,
i am creating blended shader for our PBR workflow, but i got stuck on a part where i am trying to blend more normal maps together. It has something to do with input/output nodes.
I do regular blending of two first normal maps through "Blend Normals" node, i want to take the result of this blending and blend it again with additional normal map, but before i do that, i want to do scaling on it again ( adjust intensity ).
The output can not be put to new Texture Sampler, because its not "Sampler2D" data, so i am stuck with this XYZ data, which i need to do scaling operation on, just like on regular "Texture Sampler" node on Normal map.
Nodes like "Multiply" and "Scale and Offset" just mess up things.
Attaching image. Main issue seems to be with the "Normals Intensity 1" node and its calculation, its flipping normals etc.
Thanks for any help.
Luke
i am creating blended shader for our PBR workflow, but i got stuck on a part where i am trying to blend more normal maps together. It has something to do with input/output nodes.
I do regular blending of two first normal maps through "Blend Normals" node, i want to take the result of this blending and blend it again with additional normal map, but before i do that, i want to do scaling on it again ( adjust intensity ).
The output can not be put to new Texture Sampler, because its not "Sampler2D" data, so i am stuck with this XYZ data, which i need to do scaling operation on, just like on regular "Texture Sampler" node on Normal map.
Nodes like "Multiply" and "Scale and Offset" just mess up things.
Attaching image. Main issue seems to be with the "Normals Intensity 1" node and its calculation, its flipping normals etc.
Thanks for any help.
Luke