How to make light emitting material not to emit light?

This is exactly what I wanted, thank you!