Magick/Tech aptitude/resistance things aside, by default targeted spells seem to always hit, so presumably they're guided by your magick and don't depend on your targeting abilities. It is impossible, however, to target something that you cannot see at all (0% To Hit), including enemies that are completely outside your perception range. Which I suspect would only be an issue if you're using the high-res patch, because normally the game doesn't allow free scrolling, limiting you to your "visible" area.
Perception does affect dexterity-based ranged combat styles (bow/throwing), though.
Post edited October 06, 2015 by YnK