git-svn-id: svn://db.shs.com.ru/libs@703 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "renderer_service.h"
|
||||
#include "renderer_selection.h"
|
||||
#include "tonemapping_proc.h"
|
||||
#include "glcubemap.h"
|
||||
#include <QQueue>
|
||||
|
||||
|
||||
@@ -82,8 +83,8 @@ public:
|
||||
void resize(int width, int height);
|
||||
void reloadShaders();
|
||||
void renderScene();
|
||||
void setCameraLightOn(bool on);
|
||||
bool isCameraLightOn() const {return is_camera_light;}
|
||||
void setCameraLightMode(int m);
|
||||
int cameraLightMode() const {return camera_light_mode;}
|
||||
|
||||
QImage materialThumbnail(Material * m) {return rend_mat.materialThumbnail(m);}
|
||||
void recreateMaterialThumbnails(bool force_all = false) {rend_mat.recreateMaterialThumbnails(force_all);}
|
||||
@@ -101,7 +102,8 @@ protected:
|
||||
|
||||
private:
|
||||
float gamma_;
|
||||
bool edit_mode, need_init_shaders, is_camera_light, need_render_sum;
|
||||
int camera_light_mode;
|
||||
bool edit_mode, need_init_shaders, need_render_sum;
|
||||
Framebuffer fbo_ds, fbo_out;
|
||||
/*QOpenGLShaderProgram * shader_fxaa, * shader_ds_0, * shader_ds_1, * shader_hdr, * shader_small;
|
||||
QOpenGLShaderProgram * shader_bloom_0, * shader_bloom_1, * shader_motion_blur, * shader_fbo_add;
|
||||
@@ -119,6 +121,7 @@ private:
|
||||
|
||||
Mesh * quad;
|
||||
Light * cam_light;
|
||||
CubeTexture tex_env;
|
||||
|
||||
QPoint mouse_pos;
|
||||
QRect mouse_rect;
|
||||
|
||||
Reference in New Issue
Block a user