PDA

View Full Version : Make an object transparent if you see it from its back


Renato Lima
11-12-2010, 08:58 AM
Is there any simple and easy way of doing this? Disable/hide an object if you see it from its back??

farshizzo
11-12-2010, 09:00 AM
Try enabling back face culling:node.enable(viz.CULL_FACE)

Renato Lima
11-12-2010, 09:07 AM
Great, but can I do the same for a "box" instead of "plane"??

and.. would it be possible to render with a certain alpha instead of full transparency?

thank you.

farshizzo
11-18-2010, 02:36 PM
Back face culling works on any model. However, it does not support rendering with transparency.