So let see if this is right Kaguya has RinneSharingan, but since her DNA is split to her son that is why Hagoromo has Rinnegan and Hamura Byakugan and later on Tenseigan.
Hagoromo DNA is split into Indra and Ashura, which is why one has the Sharingan and the other has no dojutsu.
Sasuke used...