The temperature of the water greatly affects the floating ability of golf balls. As the water gets colder, the density increases, making it harder for the golf ball to float. Warmer water has lower density, allowing the golf ball to float more easily.