Added separate shader for write to texture, relies on blend logic.

This commit is contained in:
Michal Marcinkowski
2014-12-22 10:02:31 -05:00
parent b14ff04f76
commit ee306cf54c
8 changed files with 151 additions and 5 deletions

View File

@@ -74,6 +74,8 @@ private:
properties::TriggerProperty _imageTrigger;
ghoul::opengl::ProgramObject* _programObject;
ghoul::opengl::ProgramObject* _fboProgramObject;
ghoul::opengl::Texture* _texture;
ghoul::opengl::Texture* _textureProj;
@@ -93,6 +95,9 @@ private:
// FBO stuff
GLuint _fboID;
GLuint _quad;
GLuint _vertexPositionBuffer;
};
} // namespace openspace