Added osgFX::MultiTextureControl node for managing blending between
different texture layers.
This commit is contained in:
@@ -61,6 +61,8 @@
|
||||
#include "MultiSwitch.h"
|
||||
#include "VisibilityGroup.h"
|
||||
|
||||
#include "MultiTextureControl.h"
|
||||
|
||||
#include "Geometry.h"
|
||||
#include "ShapeDrawable.h"
|
||||
#include "Shape.h"
|
||||
@@ -952,6 +954,10 @@ osg::Node* DataInputStream::readNode()
|
||||
node = new osgSim::LightPointNode();
|
||||
((ive::LightPointNode*)(node))->read(this);
|
||||
}
|
||||
else if(nodeTypeID== IVEMULTITEXTURECONTROL){
|
||||
node = new osgFX::MultiTextureControl();
|
||||
((ive::MultiTextureControl*)(node))->read(this);
|
||||
}
|
||||
else{
|
||||
throw Exception("Unknown node identification in DataInputStream::readNode()");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user