EEVEE Next: Motion Blur fixes #110114

Merged
Clément Foucault merged 7 commits from pragma37/blender:pull-eevee-next-motion-blur-fixes into main 2023-08-03 12:48:22 +02:00

7 Commits

Author SHA1 Message Date
Miguel Pozo 6b2c99ff46 Cleanup 2023-08-01 19:04:35 +02:00
Miguel Pozo bc572dab0d Cleanups 2023-08-01 17:15:31 +02:00
Miguel Pozo 555a958e3f Fix per-vertex motion blur in final renders
Ensure the VelocityGeometryData is actually copied to the
VelocityGeometryBuf after retrieving it.
2023-07-20 15:42:57 +02:00
Miguel Pozo cccb9e36fd Fix motion blur when using temporal re-projection
Ensure we use the correct flatten shader based on the actual vector_tx
format.
2023-07-19 19:04:19 +02:00
Miguel Pozo 0290177730 Fix VelocityModule::step_object_sync_render
Ensure it matches Instance::object_sync and de-duplicate the hair
particles detection and handle generation.
2023-07-19 19:01:28 +02:00
Miguel Pozo 5cb1184621 Fix motion blur step accumulation in final renders
Don't reset the film history between motion blur steps.
2023-07-19 19:01:28 +02:00
Miguel Pozo b3e18003cb Fix Velocity ObjectKeys in final renders
Use the original object instead of the evaluated one for the ObjectKey
in VelocityModule::step_object_sync_render, otherwise it wont match
the one from SyncModule::sync_object.
2023-07-19 19:01:28 +02:00