Alpha

Keeping PNG Transparency Intact in Your DDS Files

Keeping PNG Transparency Intact in Your DDS Files

Transparency is the single most common thing to go wrong when converting a PNG to DDS. A crisp cutout turns jagged, or a soft glow gets a dark halo. The good news is that every one of these problems has a clear cause and a simple fix. This guide explains how alpha survives the trip from PNG to DDS.

What the alpha channel is

Alpha is a fourth channel alongside red, green, and blue. It stores how opaque each pixel is, from fully transparent to fully solid. A PNG can hold a smooth 8 bit alpha channel, which is why it handles soft shadows and feathered edges so well.

Why alpha breaks in DDS

DDS stores alpha differently depending on the compression format. If you export a soft edged image as DXT1, you only get a single alpha bit, so every pixel is forced to fully visible or fully invisible. That is what produces the jagged, stair stepped edges people complain about. The image is fine, the format simply cannot represent the gradient.

Which formats keep alpha

FormatAlpha quality
DXT1 (BC1)1 bit, on or off only
DXT5 (BC3)Full 8 bit, smooth
BC7Full 8 bit, smooth and high quality
Uncompressed RGBAExact, lossless

The rule is short. For soft transparency, choose PNG to DDS DXT5 or BC7. Save DXT1 for opaque textures and clean, hard edged cutouts.

Watch the edges

Sometimes a soft edge picks up a dark or bright fringe. This happens when the colour under fully transparent pixels is different from the visible edge. Painting the same colour into transparent areas before export, sometimes called edge padding or dilation, keeps the border clean once the alpha is compressed.

Practical tips

Preview your alpha before you commit. In our converter, the thumbnail sits on a checkerboard so you can see exactly which parts are transparent. If edges look rough, switch from DXT1 to DXT5 and convert again. And as always, keep a PNG master, so you can re export at any quality later without stacking compression on compression.

Frequently Asked Questions

The PNG To DDS Team
We write about texture compression, DDS formats, and game art workflows. Read our editorial policy.

Try the converter

Put this into practice. Convert your PNG to DDS free, right in your browser, with DXT1, DXT5 and BC7 support.

Open the Converter