Corn snakes are not basking snakes. They actually prefer belly-heat so an under-the-tank heatmat is a much better idea, and then the question of the sensitivity of their eyesight doesn't even come into play. Just be sure to get a thermostat for the heatmat as they can get quite hot.