More more occlusion culling.
This commit is contained in:
@@ -715,9 +715,11 @@ void CullVisitor::apply(osg::OccluderNode& node)
|
||||
{
|
||||
// need to check if occlusion node is in the occluder
|
||||
// list, if so disable the appropriate ShadowOccluderVolume
|
||||
_modelviewCullingStack.back()->disableOccluder(_nodePath);
|
||||
|
||||
std::cout<<"We are in an Occlusion node"<<&node<<std::endl;
|
||||
|
||||
|
||||
if (isCulled(node)) return;
|
||||
|
||||
// push the culling mode.
|
||||
|
||||
Reference in New Issue
Block a user