Shading is a technique used in the creation of 3D models and illustrations to depict depth perception. It functions by varying the level of darkness across a surface to simulate how light behaves locally on an object.
The process is distinct from global lighting techniques, such as shadow mapping or shadow volumes, which focus on the behavior of shadows rather than local surface shading.