This depends on the requirement of the spraying unit. If you are going to use an oil bath unit, then a filter is required. Using an oil free air compressor is typically best for spraying paint as there is no oil residue that would come from an oil based unit.
Are you using a HVLP spray unit?