First let me say that you shouldn't consider someone who doesn't respect or appreciate who you are, a friend. While it's normal to have differences(I'd even say healthy friendships thrive on them), your colleagues you consider friends should appreciate them and not look down on you for them. That said, if you're still in school, simply engage in conversation with whomever you find yourself around. You're a growing individual with thoughts and opinions and knowledge you should share with your peers. Either they'll embrace you, or they won't. But I guarantee if you persevere, you'll find people who appreciate you.
If you're past your school years, try finding a hangout spot to go to in your free time where you feel comfortable.
I'll share a little story with you. When I was 20 I wanted to be Scarface. I had a gun collection and hustled copious amounts of illicit substances. I got caught and decided to make change for my future. Problem was, this alienated me from literally everybody I'd been associating with since I was 14, and a freshman in high school. I became a hermit, and started to feel depression setting in. My mom saw it, and asked me to come with her to work to get me out of the house. I met a friend there who was into gaming like I was, and we started hanging out a lot. As our friendship built, he got into Yugioh TCG. I turned down his requests to go with him to the card shops(I sold drugs, there was no way I'm gonna be a card geek!) until eventually, I caved in and went. For the sake of common ground, I bought a starter deck, and a few other cards he suggested, and we began playing daily. Now the places we went to held tournaments, and again, I was like "hell no", but I eventually sucked it up and went. When we showed up to our first tournament, it was not what I expected it to be. There were people from all age groups, ethnicities, and social cliques engaging in this silly little card game and having a blast! It was so easy again to simply trade words with people and develop friendships again. This was my home for the next few years and I cherish my experiences and friendships that resulted from it. Point is, don't enter close-minded. Be open to new ideas and have some courage and pride in who you are.