@Maximum-Dev
Meh. Don’t know why it happens. Maybe 1-normal.r^2-normal.g^2 becomes less than zero. It can happen if normal map is not normalized before B is taken out. You could try doing a safe normalize material function on your resulting normals, with a default vector of (normal.r,normal.g,0), to check if that is your problem.