
Motion Vectors
A simple overview of rendering dynamic instances.
When the AllowPerObjectMotionVectors flag is enabled in the project settings, and in the scene settings, Flora will allocate additional space for each instance that supports motion vectors. If any child of a prefab contains a MeshRenderer with the motion vector mode set to PerObject, the previous frames matrices will be allocated for instances of that prefab. This costs 2 float4x3 matrices per "dynamic" instance, so ensure the motion vector mode is set correctly on your prefabs when enabled.
Additionally, the scene settings component allows you to specify if terrain trees or details are included - meaning your tree or detail instances can support motion vectors if a child renderer has them enabled. While not a common case, this would allow you to control rocks or debris on the terrain with correct motion vectors.
Last updated