git-svn-id: svn://db.shs.com.ru/libs@421 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2018-09-07 08:37:44 +00:00
parent 38bb2244d5
commit b6bad7a921
12 changed files with 174 additions and 41 deletions

View File

@@ -28,19 +28,19 @@ public:
virtual ~RendererSimple() {if (shader_fxaa != 0) delete shader_fxaa;}
virtual void renderScene();
QPoint mpos;
protected:
virtual void reloadShaders();
virtual void init(int width, int height) {resizeFBO(width, height);}
virtual void resize(int width, int height) {resizeFBO(width, height);}
virtual void reloadShaders();
QPoint mpos;
protected:
private:
void resizeFBO(int w, int h);
GLFramebuffer fbo , fbo_c;
__GLShaderProgram__ * shader_fxaa , * shader;
GLFramebuffer fbo, fbo_c;
__GLShaderProgram__ * shader_fxaa, * shader;
};