mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-24 11:59:14 +01:00
fix(render): the free camera blurs with its own movement in the OpenGL 4.6 and Vulkan renderers
This commit is contained in:
@@ -51,6 +51,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "rendering/opengl46/opengl46shadowfit.h"
|
||||
#include "rendering/common/scenewalk.h"
|
||||
#include "rendering/common/temporalaa.h"
|
||||
#include "rendering/common/freecameramotion.h"
|
||||
#include "rendering/common/screenreflections.h"
|
||||
|
||||
// bare-bones render controller, in lack of anything better yet
|
||||
@@ -867,6 +868,8 @@ class opengl46_renderer : public gfx_renderer, public gfx::scene_walk {
|
||||
std::unique_ptr<gl::postfx> m_pfx_motionblur;
|
||||
std::unique_ptr<gl::postfx> m_pfx_taa;
|
||||
gfx::temporal_aa m_taa;
|
||||
// the movement of the camera with no vehicle of its own in the main view, for the motion blur
|
||||
gfx::free_camera_motion m_freecamera;
|
||||
std::unique_ptr<gl::postfx> m_pfx_tonemapping;
|
||||
std::unique_ptr<gl::postfx> m_pfx_chromaticaberration;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user