This contribution presents a concept for early virtual evaluation of high-definition (HD) lighting functions for different beam patterns without requiring major manual changes to the headlight control algorithm. This is achieved by designing the headlight control algorithm to automatically adapt to the current beam pattern and realize various lighting functions of generalized targets. This paper delivers the general concept of the algorithm for the case of relative target utilization of the light sources and presents the modifications to the approach required to control the illumination of a spot using a low-resolution matrix-headlamp.