No it is not gay. I think its normal. Ugly dudes tend to have really poor showering habits and most of them are geeks. Even an ugly guy can make himself presentable to where people won't judge him. Its like being poor, you don't have to be filthy because your poor.
Why are you so worried about being gay?
See what religious freaks do to young people?!!!!!!
just because you judge his looks does not mean you want them in a sexual manner