i don't think it differs , as it is stated that the rinnegan is immune genjutsu or that it can see through genjutsu "i can't remember" but it doesn't say just visual genjutsu so my guess is that nagato is not immune and that he needed to master it , which he never did "stated in the manga"Becuase that was sound genjutsu.