Updated wrappers

This commit is contained in:
Robert Osfield
2007-02-19 15:42:32 +00:00
parent 65ad3094a9
commit bdfc9de345
3 changed files with 41 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ void ShadowTexture::init()
// tell the camera to use OpenGL frame buffer object where supported.
_camera->setRenderTargetImplementation(osg::Camera::FRAME_BUFFER_OBJECT);
_camera->setRenderTargetImplementation(osg::Camera::SEPERATE_WINDOW);
//_camera->setRenderTargetImplementation(osg::Camera::SEPERATE_WINDOW);
// attach the texture and use it as the color buffer.
_camera->attach(osg::Camera::COLOR_BUFFER, _texture.get());