Translucency issue

Has anyone ever noticed when you shine a flashlight on some textures like, for example, the ghoul model’s pants (ported by S-Low,) they go completely see through? I’ve been experimenting with this problem for a while, changing lines in the .vmt’s and such, but nothing seems to fix this. I checked into how some fence props’ textures do not do this, nor does Alyx’s “hairbits” texture. Does anyone have a clue as to why this happens?

I’ll provide a picture if anyone wants.

It’s probably due to using the wrong translucency shader. Most props and ragdolls should be using $alphatest, rather than $translucency or $transparent.

	// Original shader: VertexLitTranslucentTexture
	"$translucent" 1
	"$basetexture" "models/Alyx/hairbits"
	"$halflambert" 1
	"$nodecal" "1"
	"$nocull" "1"

That’s from Alyx’s “hairbits”, one of the textures not affected by this. None of these settings seem to fix it.

$mostlyopaque in qc