Question: what is it called when you judge someone based on looks?
Answer: The word (hyphenated) for someone who judges people based on looks is “Short-sighted”.