Alembic motion vector flag
Posted: Thu Apr 05, 2018 1:58 pm
Hello again!
This might be a simple question, apologies if it is, I tried a bunch of things but I'm probably missing something obvious.
All of the shaders I am building are applied to alembic models, and to get correct motion vectors, I need to add the following line of code under the SubShader flag:
UsePass "Hidden/Alembic/MotionVectors/MOTIONVECTORS"
I am currently going into the generated amplify shader code and placing this command every time I modify my shader, is there a place I can add it in the amplify graph, or shader commands so I don't have to go into the code every time?
Thanks for the help!
Matt
This might be a simple question, apologies if it is, I tried a bunch of things but I'm probably missing something obvious.
All of the shaders I am building are applied to alembic models, and to get correct motion vectors, I need to add the following line of code under the SubShader flag:
UsePass "Hidden/Alembic/MotionVectors/MOTIONVECTORS"
I am currently going into the generated amplify shader code and placing this command every time I modify my shader, is there a place I can add it in the amplify graph, or shader commands so I don't have to go into the code every time?
Thanks for the help!
Matt