This heats up when an electric current passes through it, and produces light as a result. The resistance of a lamp increases as the temperature of its filament increases. The current flowing through a filament lamp is not directly proportional to the voltage across it.