It seems to me that we all tussle with shame, to varying degrees, and to pretend otherwise might be, at the very least, foolish. Listen to its warnings, rather than falling victim to its admonishments. As a first step, try noticing your body reactions. Genuine, healthy pride often makes us feel bigger. Healthy pride puts your head up, your shoulders back, lets you look around.
Pride invites others closer.
Shame, on the other hand, makes us feel tight, small, protective, vulnerable. It shows up in anger, sarcasm, caustic comments, words and actions that put distance between us and others. Pay attention to your body and its noticings - it will not deceive you. Notice when you feel small and uncertain, or guilty. Perhaps telling yourself that watching pornography might be also considered a private, consensual, safer sex activity, instead of it being something done by only lonely losers and perverts, might do the trick.