The invention relates to a shaped part comprising a decorative layer with a front side and a rear side, a light-guiding element comprising a main body and one or more light guides protruding from a front side of the main body, wherein the main body is arranged with its front side on the rear side of the decorative layer and the
light guide(s) completely penetrate / s the decorative layer, and one or more light elements arranged in and / or on the light-guiding element, wherein light emanating from the light elements is guided via the
light guide(s) to the front side of the decorative layer. A light-shielding layer is arranged between the surface of the
light guide(s) and the decorative layer, in particular a light-shielding element, wherein the light-shielding layer has an interruption, through which light can escape, on the front side of the decorative layer on each light guide. The invention also relates to methods for producing a shaped part that comprise, as a method step, pressing the light-shielding element and / or the light guides of the light-guiding element into a decorative material to form the decorative layer.