Rim lighting is a shading technique that highlights the edges of a model. Itβs useful to add a moody atmosphere or help an object stand out from a dark background. This effect gets the main light in a custom function node to emphasize the shadowed side of a model.