From 6c3eb95f7b1d8ee9515bc78b03ba911ed4aa0573 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 16 Aug 2004 08:55:48 +0000 Subject: [PATCH] Disabled the culling for clear node. --- src/osg/ClearNode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osg/ClearNode.cpp b/src/osg/ClearNode.cpp index 683166acd..57c9a7bd5 100644 --- a/src/osg/ClearNode.cpp +++ b/src/osg/ClearNode.cpp @@ -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);