I don't know if this is real, but in the episode of House, they said his eyes were still functioning, so his brain was getting visual signals. But his visual cortex was damaged, so his brain was mixing up the signals, processing images that weren't really there. So it's a neural mix-up, not an eye problem.