Improved the fallback mechanism from FBO, down to PBuffer_RTT down to PBuffer down to frame buffer.

This commit is contained in:
Robert Osfield
2005-10-06 11:26:07 +00:00
parent 5cb66efc86
commit a380a49509
2 changed files with 92 additions and 32 deletions

View File

@@ -126,6 +126,7 @@ class OSGUTIL_EXPORT RenderStage : public RenderBin
void setCameraRequiresSetUp(bool flag) { _cameraRequiresSetUp = true; }
bool getCameraRequiresSetUp() const { return _cameraRequiresSetUp; }
/** Attempt the set the RenderStage from the Camera settings.*/
void runCameraSetUp(osg::State& state);
void setTexture(osg::Texture* texture, unsigned int level = 0, unsigned int face=0) { _texture = texture; _level = level; _face = face; }