Fog forms on a cold surface relative to the air in contact with it. So long as the surface of the glass is the same temperature as the air, it doesn't matter what you use, hot or cold.