White border with mipmap

Hi,

So I’m trying to use the Nvidia DDS plugin in Photoshop to generate my mipmaps. For some reason, it’s generating a white border around the texture. I have an alpha mask on the texture but it fails to recognize the alpha mask on the outer edges while working perfectly fine in the middle. I’m trying to save this as a DXT5. Is there some Nvidia plugin setting I failed to check off?

~J

Greetings,

Based upon your post, I would guess that you are specifying the alpha information for your image in a “standard” Photoshop layer (using the layer’s opacity channel). I would suggest using an alpha channel to store your opacity information instead. If I’m not mistaken, the NVIDIA plugin requires that this alpha channel be named “Alpha 1” (which isn’t too inconvenient since this is the default name for the first alpha channel created anyway). This approach will allow you to explicitly specify the colors of the pixels in and near the opacity transition areas of your image (which otherwise seem to default to white). The pixels around this transition area are important because the RGB values of these pixels are considered in the creation of MIPs.

As an aside, I highly recommend a little DDS viewing app created by NVIDIA called “WTV” (Windows Texture Viewer). No installation is required, and the tool is quite handy for viewing and diagnosing DDS issues.

-Eric