Alembic Motion vector HDRP

I am trying to get get motion blur working with Alembics in HDRP with no luck.

I have tried turning the motion vectors on in the lit shader. I have also tried various import options for the alembic (import points / interpolate)

Could anyone advise?

using unity 2019.1,
HDRP 5.10
Alembic 1.0.3

I think we have bug logged for that.
Just to confirm, you used the alembic materials for this (HDRP did not support natively motion vectors for Mesh data I think)?

Thanks for the quick response!

I am using the default HDRP lit shader. There is a checkbox for MotionVector for vertex animation in there. I am not sure if that is meant to work with alembic or not (it doesn’t seem to work)

The actual alembic shaders don’t work or do not render correctly in HDRP

Hi,

Alembic support for motion vector require special treatment that haven’t land in the mainline of HDRP but are part of Unity japan Alembic importer:
https://github.com/unity3d-jp/AlembicForUnity/pull/224

So currently with HDRP, unless you apply same change than the PR above, you can’t do it, you need to use the LitAlembic.shader (not in hdrp)

Thanks for the info and links. We had a few issues with trying to merge the or take the special treatment (we are not that technical). Will give it another try

Do you know if this is feature will be added to HDRP in the near future?

bump

Current versions of HDRP (2019.4+ I think ) support the motions vectors if you enable the “Add Extra velocity” (or something like that) option on them.

Sorry, where is this option? I can’t find it anywhere.

Not in Lit Shader:
7955637--1019256--upload_2022-3-11_7-13-44.png

Not in alembic importer either:

7955637--1019259--upload_2022-3-11_7-14-8.png

Does HDRP support Alembic with pre-calculated motion vectors now?

I forgot the exact version of HDRP that it landed on:
Here’s a screenshot on how it looks like in 22.1 (name has not changed since it was implemented):
It’s all the way to the bottom of the material options.