Added VolumeTechnique to Volume

This commit is contained in:
Robert Osfield
2009-01-14 20:38:12 +00:00
parent 1a00a2ce3c
commit 778f4e321d
3 changed files with 14 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ void ShaderTechnique::init()
float ySize = (matrix)(1,1);
float zSize = (matrix)(2,2);
if (true)
{
osg::Texture::FilterMode minFilter = osg::Texture::LINEAR;
osg::Texture::FilterMode magFilter = osg::Texture::LINEAR;
@@ -411,7 +412,7 @@ void ShaderTechnique::update(osgUtil::UpdateVisitor* uv)
void ShaderTechnique::cull(osgUtil::CullVisitor* cv)
{
// osg::notify(osg::NOTICE)<<"ShaderTechnique::cull(osgUtil::CullVisitor* nv)"<<std::endl;
//osg::notify(osg::NOTICE)<<"ShaderTechnique::cull(osgUtil::CullVisitor* nv)"<<std::endl;
if (_geode.valid())
{
_geode->accept(*cv);