Quake 3 Transparent Textures

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Zurzaza
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy
Contact:

Quake 3 Transparent Textures

Post by Zurzaza »

Hi everyone,
I need to import a quake 3 map into my project, also using q3 shaders.
I've imported the function stored in "q3factory.h\cpp" files (That are use in the example 21-Quake3explorer), all goes ok...except that some textures (for example leafs) has no transparent background.
Using leafs as example, I can see the leafs but they're on a black background.
How can i solve this?

Thank you.
irrBP - an Irrlicht - Bullet Physics Wrapper.
The only irrlicht-physics wrapper that uses multithread technology.
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Quake 3 Transparent Textures

Post by hendu »

Even if you get them to EMT_ALPHA_CHANNEL, the draw order might be wrong - remember Irr doesn't do any in-mesh sorting, so two transparent objects on top of each other might be drawn in the wrong order.
Post Reply