Variable filters are key components for compact spectral imagers. In this paper, we present a method for the fabrication of linearly variable filters based on Bühler HELIOS machine (plasma assisted reactive magnetron sputtering). These filters are obtained by producing a variation of the thickness of all the layers of the coating, using adapted masks placed in between the sputtering targets for the low and high refractive index materials and the substrates. Variable band pass filter from 550 nm up to 1000 nm is demonstrated.