Controlling the Brightness of a Light Source

In a project, you can change the brightness of a light source using the following methods: