In Parshat-Noach, was Cham influenced by the bad people G-d destroyed before the mabul (by his actions with his father)?
The Medresh related that Cham and his wife were the only couple, human or animal, to cohabit while on the Tayvah. All of the other "survivors" remained celibate until emerging from the Ark one year from the start of the Mabul.
so it seems, not significantly. he cannot control his passions and this is why Noah cursed that he would be a slave. it was actually for his own good.