diff options
Diffstat (limited to 'src/glwidget.h')
-rwxr-xr-x | src/glwidget.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/glwidget.h b/src/glwidget.h index 91df32f..810829a 100755 --- a/src/glwidget.h +++ b/src/glwidget.h @@ -40,6 +40,11 @@ private: void keyPressEvent (QKeyEvent *event) override; void keyReleaseEvent (QKeyEvent *event) override; + void makeFBO(); + + void initCaustics(); + void paintCaustics(); + private slots: // Physics Tick void tick(); @@ -51,11 +56,25 @@ private: Shader *m_pointShader; Shader *m_texture_shader; + Shader *m_colorShader; + GLuint m_fullscreen_vbo; GLuint m_fullscreen_vao; QImage m_ground_image; GLuint m_ground_texture; + int m_fbo_width; + int m_fbo_height; + float m_devicePixelRatio; + + GLuint m_fbo; + GLuint m_fbo_texture; + GLuint m_fbo_renderbuffer; + GLuint m_defaultFBO; + + GLuint m_floor_vbo; + GLuint m_floor_vao; + float m_movementScaling; float m_vertexSelectionThreshold; float m_vSize; |