The term to google is "durable water repellent" (DWR). In sport shops you can buy sprays or washing liquids to treat the jackets.
https://en.m.wikipedia.org/wiki/Durable_water_repellent
Also note each jacket has a different thickness of the gore-tex layer which conditions how many hours of rain it can withstand.