mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-04-26 16:34:53 +00:00
Use previous frame's image (plus motion vectors) in blur textures
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
This commit is contained in:
@ -120,7 +120,7 @@ void MilkdropPreset::RenderFrame(const libprojectM::Audio::FrameAudioData& audio
|
||||
|
||||
// Update blur textures
|
||||
{
|
||||
const auto warpedImage = m_framebuffer.GetColorAttachmentTexture(m_currentFrameBuffer, 0);
|
||||
const auto warpedImage = m_framebuffer.GetColorAttachmentTexture(m_previousFrameBuffer, 0);
|
||||
assert(warpedImage.get());
|
||||
m_state.blurTexture.Update(*warpedImage, m_perFrameContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user