16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 19:49:19 +02:00

try to improve motion blur

This commit is contained in:
milek7
2020-12-01 01:45:48 +01:00
parent c004047276
commit ee5551a424
4 changed files with 32 additions and 66 deletions

View File

@@ -219,6 +219,7 @@ class opengl33_renderer : public gfx_renderer {
// msaa resolve buffer (when using motion blur)
std::unique_ptr<gl::framebuffer> main_fb;
std::unique_ptr<opengl_texture> main_texv;
std::unique_ptr<opengl_texture> main_texd;
std::unique_ptr<opengl_texture> main_tex;
// final HDR buffer (also serving as msaa resolve buffer when not using motion blur)