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!

Quake 3 Transparent Textures

Postby Zurzaza » Mon May 07, 2012 5:07 pm

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.
User avatar
Zurzaza
 
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy

Re: Quake 3 Transparent Textures

Postby hendu » Tue May 08, 2012 9:36 am

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.
hendu
 
Posts: 1619
Joined: Sat Dec 18, 2010 12:53 pm


Return to Advanced Help

Who is online

Users browsing this forum: No registered users and 1 guest