A control aperture for an IR sensor includes a die; an IR sensor disposed on the die and an IR opaque aperture layer on the die having an IR transmissive aperture aligned with the IR sensor for controlling the field of view and focus of the IR sensor.