Author Topic: Using a -trans texture  (Read 2539 times)

0 Members and 1 Guest are viewing this topic.

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Using a -trans texture
As a workaround for a certain problem, I've been trying to get a -trans texture to work. However, no matter what I do, it won't show up in-game, nor does debug output ever indicate that it's been loaded. By grepping the source I found a few references to such textures though, so I'm not sure what the deal is with them. Has anyone successfully used a -trans map, and if so, was anything special required to get it to work? Can someone confirm whether they are indeed supposed to be supported or not?

Secondly, I don't even know what the format should be, as in what determines the level of transparency? Is it the alpha channel? RGB intensity? Green? Something else?

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Using a -trans texture
Quote from:  FS Wiki
TextureName-trans.xxx
This enables the transparency for the map of the model, once again using the UV’s for the model. Map in question can also be set as -shine or -glow map (for example TextureName-trans-glow). Unless more info is stated, this kind of texture is deprecated or useless. Transparency is currently set through alpha channel (see further below).

according to the link you gave -trans textures are depreciated and you should use the alpha channel in a format like DDS in a regular texture.
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Using a -trans texture
according to the link you gave -trans textures are depreciated

Obviously it does, but I'm asking if that's the case or not.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Using a -trans texture
It might have been removed and I didn't seen it in any mods.
If there's a problem that may require usage of -trans texture, I think that putting back the support for it would be a good idea.

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Using a -trans texture
Sooo... I searched around a bit more and stumbled upon this post by taylor. It suggests that I actually need to rename the base texture (both the file and the reference in the .pof file), and... well, it works!

I updated the wiki to clarify that, since it didn't really say that you need to do it completely differently than the other textures.

Great feature. Please don't remove it. ;)

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Using a -trans texture
It seems like SoL is using it, which should prevent it from being removed.
Also, it could allow for really, really awesome effects if it works like that.
I think that Spoon could experiment with this in WoD. For example, I noticed that Fura'ngle ships look better with "transparent" box checked in F3 Lab, because without it, some parts that are supposed to be transparent still obscure others (but not the background), due to a quirk in the way model hierarchy works.