I'm creating a PBR all-in-one Shader. it is suposed to function as a streamlined connection between substance/marmorset and blender, where u only have to connect the textures into the material inputs and get a PBR metallic/non metallic fresnel shader.
the core structure of the shader is ready and works mostly fine.
But the normal maps are not completely working well (maybe there is sth wrong with the normal orientation. maybe somewhere the normal inputs do not get handled as a normal map anymore. but i cant find where). also if you do not have a normal map assigned and you dont put the "normal power" (intensity) to zero, you get strange artifacts. (solved)
Also there are strange lines on the mesh surface that should be really not there. i think it has to do something with the fresnel effect.
The problem should lay in the left shader group "demonic inputs". I am not hundred percent sure but i believe this group causes the problem. but i cant find a solution. thx for your help! :)
Here you can download the blend file: Download Blend File