Mobile 3D engine renders alpha as full-object transparency

Posted by Nils Munch on Game Development See other posts from Game Development or by Nils Munch
Published on 2012-04-18T11:26:05Z Indexed on 2012/06/04 16:55 UTC
Read the original article Hit count: 340

Filed under:
|
|

I am running a iOS project using the isgl3d framework for showing pod files.

I have a stylish car with 0.5 alpha windows, that I wish to render on a camera background, seeking some augmented reality goodness.

The alpha on the windows looks okay, but when I add the object, I notice that it renders the entire object transparently, where the windows are. Including interior of the car.

Like so (in example, keyboard can be seen through the dashboard, seats and so on. should be solid)

bad car is bad

The car interior is a seperate object with alpha 1.0.

I would rather not show a "ghost car" in my project, but I haven't found a way around this.

Have anyone encountered the same issue, and eventually reached a solution ?

© Game Development or respective owner

Related posts about 3d

Related posts about rendering