No different, if the child never knows who the dad is.
Very different, if they have some kind of relationship to the father. Even just knowing who he is.
Just one of the reasons the Catholic Church opposes in-vitro fertilization. The egg is fertilized outside the womb and then the fertilized egg is implanted into the womb.
Expensive procedure.
“Even just knowing who he is.”
That’s true. Even just having a name and knowing a few facts about one’s father makes a difference, even if he died before the child could know him.