Disabled the culling for clear node.

This commit is contained in:
Robert Osfield 2004-08-16 08:55:48 +00:00
parent d64aa24449
commit 6c3eb95f7b

View File

@ -23,6 +23,7 @@ ClearNode::ClearNode():
_requiresClear(true),
_clearColor(0.0f,0.0f,0.0f,1.0f)
{
setCullingActive(false);
StateSet* stateset = new StateSet;
stateset->setRenderBinDetails(-1,"RenderBin");
setStateSet(stateset);