Page 1 of 1

Cullface (Answered)

Posted: Tue Nov 20, 2007 7:57 pm
by Yellow_Yackets
How do i disable the CULLFACE of a terrainscenenode so that when i look at it from the bottom i still see it instead of seeing it transparent?

Posted: Tue Nov 20, 2007 10:43 pm
by vitek
The material has a backface-culling attribute that you need to set to false.

Posted: Wed Nov 21, 2007 4:17 am
by Yellow_Yackets
Thanks again vitek.

Posted: Tue Nov 27, 2007 9:39 pm
by Yellow_Yackets
Example:

Code: Select all

Terrain[2]->setMaterialFlag(EMF_BACK_FACE_CULLING,false);