Fix: EEVEE-Next: Film matrix

Fixes motion vectors for static geometry.
Regression from beee7db.
This commit is contained in:
Miguel Pozo
2023-12-11 20:23:04 +01:00
parent feae0b4173
commit 73a5826bf5

View File

@@ -211,7 +211,7 @@ void ShadingView::update_view()
jitter *= 2.0f;
window_translate_m4(winmat.ptr(), winmat.ptr(), UNPACK2(jitter));
jitter_view_.sync(winmat, winmat);
jitter_view_.sync(viewmat, winmat);
/* FIXME(fclem): The offset may be noticeably large and the culling might make object pop
* out of the blurring radius. To fix this, use custom enlarged culling matrix. */