Merge pull request #679 from mp3butcher/patch-18
setup camera Read/Draw Buffer
This commit is contained in:
commit
7a601753e0
@ -357,6 +357,8 @@ void ParallelSplitShadowMap::init()
|
||||
{
|
||||
// create the camera
|
||||
pssmShadowSplitTexture._camera = new osg::Camera;
|
||||
pssmShadowSplitTexture._camera->setReadBuffer(GL_BACK);
|
||||
pssmShadowSplitTexture._camera->setDrawBuffer(GL_BACK);
|
||||
pssmShadowSplitTexture._camera->setCullCallback(new CameraCullCallback(this));
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user