Friday, July 13, 2007

Grey Outlines

I mentioned a while back that my textures had gray outlines whenever they were shrunk or displayed at a floating point coordinate rather than a whole number. I figured that it might have been the format I was using: png.

The suggested method for transparency in the help files is to use DirectX's texture tool to convert the png to a dds by dragging the png file into the window. I did that and it didn't change anything. So I used gimp to separate the png into two bitmaps: the non-transparency image and the mask, which I then combined in the texture tool. This time, it worked.

Those gray outlines were getting under my skin and I'm glad to be rid of them.

clevceo

No comments: