Motion Blur for Universal RP (as same as PPSv2)
This feature should be useful for you who don't wait MotionVector for official support.
MotionVectorPass is faster than Legacy RP by supporting SRPBatcher.
MotionBlurPass is same as that of PPSv2.
To set for your project
- Add only 3 files anywhere.
- fMotionBlur.cs
- fMotionFeature.cs
- fMotionVector.shader
- Import PostProcessingStackV2 package. This sample project use the MotionBlur.shader of PPSv2.
- Add ScriptableRendererFeature(fMotion Feature) to FowardRendererData.
- Add VolumeComponent(fMotion Blur) to PostProcessVolume.
- If ScriptableRendererFeature is missing when this project was reimported, please close the project and reopen.
- Run MotionVectorPass to renderers that is stopping. These are skipped in Legacy RP.
Licensed under the Unity Companion License for Unity-dependent projects--see Unity Companion License.
Unless expressly provided otherwise, the Software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.