Cube Texture Problems

Started by Nemetz, June 16, 2011, 03:48:59 PM

Previous topic - Next topic

Nemetz

Hi 2 all!
In rendering i made this one:

box.setTexture("transp");
box.setTransparency(500);
box.setShadingMode(Object3D.SHADING_FAKED_FLAT);
box.align(cam);
box.strip();
box.build();

Where texture is a transparency texture only with a border.
Fron and left side looks god, but i don't see back side of box, i mean i don't see border there.

Is it a bug or i made something wrong?


EgonOlsen

It's not a bug and you haven't done something wrong. It's by design and it's called backface culling. You can disable it by using Object3D.setCulling(...);

Nemetz