**4.1 Shaders**

Thanks to specific light definition, it is possible to observe illuminated and unlit parts of an object. Light has an exact border where the illumination of object ends. Therefore, it is needed to shade the transition between illuminated and unlit parts to make it appear more natural. Shader will make a transition by adjusting the color of the nearest pixels between these two sections. **Figure 6** shows the illuminated part, shaded part, and unlit part of the cone illuminated by point light only.

**Figure 5.** *Traffic light with point light in red color and shadow settings.*

**Figure 6.** *Shader represented on a cone with a point light.*
