In Epic 2 MAP28, with any level of hqx, the texture TBAR20 becomes opaque. What's odd is that the nearly identical texture TBAR04 is scaled (by hqx) without loss of transparency, but TBAR20 loses it. The exact position of the pixels may be responsible (in TBAR20, the first diagonal line starts in the corner, in TBAR04 it starts just below the corner, so in 20 the top-left pixel is opaque while in 04 it's transparent), but here you go.
I've added a little debugging message and ran through a few maps:
Code: Select all
bIsTransparent = 0;
}
if (bIsTransparent)
Printf("Texture %s is transparent\n", tex->Name);
if (warp != 0)
{