Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Transparent texture when exported?

Discussion in 'Texturing & Surfacing' started by HerrDave, May 24, 2014.

Thread Status:
Not open for further replies.
  1. HerrDave

    HerrDave

    Joined:
    Dec 23, 2013
    Messages:
    1,095
    Resources:
    165
    Models:
    137
    Icons:
    20
    Skins:
    8
    Resources:
    165
    So, my friend Niktorn sent me a model with a skin (fancy that eh?)

    For some reason, when it is on the model it looks fine, but when I export it, it becomes a near totally transparent mess. Behold the screenshots.
     

    Attached Files:

  2. Freddyk

    Freddyk

    Joined:
    Sep 7, 2013
    Messages:
    227
    Resources:
    11
    Models:
    10
    Icons:
    1
    Resources:
    11
    That's because your texture has an alpha channel.
    Warcraft 3 uses alpha channel mainly for team color, or transparency. Looking at your screenshot though, i believe this texture comes from another game, and its alpha channel is for something like specular or bump which are not handled by Warcraft 3 anyway, so you can remove it.

    I guess you opened it with gimp? As far as i know gimp can only handle the alpha channel as transparency, hence this result.
    Maybe there is an option somewhere in gimp to remove the alpha channel of the layer, but i don't know this software well enough.

    You could also try to open it with another software (photoshop should work), or try to export to another image format without alpha channel.
     
  3. Talavaj

    Talavaj

    Joined:
    Jan 18, 2010
    Messages:
    1,094
    Resources:
    6
    Models:
    6
    Resources:
    6
    Export it into something that does not support alpha channel, like JPG or something that supports alpha channel correctly like TGA and delete the channel there.
    PNG has great transparency support, but it handles alpha differently that is why it ended up like this.
     
  4. HerrDave

    HerrDave

    Joined:
    Dec 23, 2013
    Messages:
    1,095
    Resources:
    165
    Models:
    137
    Icons:
    20
    Skins:
    8
    Resources:
    165
    Thanks, it worked! I'd give you two more credit, but I'd be arrested and executed for the distribution of so many rep points.
     
Thread Status:
Not open for further replies.