Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, are disclosed for reducing the impact of lighting conditions and biometric distortions, while providing a low-computation solution for reasonably effective face recognition. The substrate is disposed in the encapsulation mold, and resin is injected into a cavity between the upper mold and the substrate to encapsulate the semiconductor elements with the resin. 0, provided that Matting agent A is the matting agent having a largest weight ratio; and Matting agent B is the matting agent having a second largest weight ratio. Each unitary discrete structure includes a light directing portion that is primarily for directing light and includes a plurality of first side facets.