Fixed handling of volume tiles with a region.

This commit is contained in:
Robert Osfield
2014-04-01 18:33:02 +00:00
parent 27b71e3927
commit e5fe59799d
9 changed files with 101 additions and 38 deletions

View File

@@ -73,7 +73,8 @@ class OSGVOLUME_EXPORT MultipassTechnique : public VolumeTechnique
osg::ref_ptr<osg::Texture2D> backFaceDepthTexture;
osg::ref_ptr<osg::Camera> backFaceRttCamera;
osg::ref_ptr<osg::Uniform> texgenUniform;
osg::ref_ptr<osg::Uniform> eyeToTileUniform;
osg::ref_ptr<osg::Uniform> tileToImageUniform;
};
/** Called from VolumeScene to create the TileData container when a multi-pass technique is being used.