Sunday, October 23, 2022
HomeGame DevelopmentHow do I get Alpha/Transparency working with TGA information in Unreal?

How do I get Alpha/Transparency working with TGA information in Unreal?


I’ve acquired a file that must be TGA for technical causes. In that file, I’ve acquired two bins within the decrease half, good of middle, that want transparency. One is for glass (higher, totally clear) and one is for a "smoke" solar visor (decrease, grey/clear).

Texture

The feel already has an alpha layer. If I click on "Take away Alpha Channel" then the clear sq. goes white and the smoke sq. goes grey.

I export this to TGA, can open the TGA, it reveals as clear.

Once I import the feel to Unreal, the "Has Alpha Channel" is True, however the clear block now reveals as blue for some motive, and the smoke block turns stable black.

Imported texture

I am unable to appear to determine why that is taking place. The perfect I have been capable of finding on-line is to make use of a PNG as a substitute, however once more I am unable to try this for causes past the scope of this query.

I’ve additionally seen recommendation to tick an "alpha channel" possibility on export, however I’ve no such possibility after I export the file. All I get are the choices for compression or no compression, and the place the origin of the file is.

Export options

If this is not doable then I can attempt to work round it, however I would actually like some assist understanding what I am doing fallacious. I am hoping somebody right here has seen this concern earlier than.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments