visualdesigncafe / nature-renderer

Nature Renderer is a plugin for the Unity game engine to efficiently render vegetation on your terrains.
https://visualdesigncafe.com/nature-renderer/
0 stars 0 forks source link

Motion vectors are incorrect in 2021.3 LTS #45

Open remillardmarc opened 2 months ago

remillardmarc commented 2 months ago

Discussed in https://github.com/visualdesigncafe/nature-renderer/discussions/44

Originally posted by **remillardmarc** May 1, 2024 Hi, using URP on Unity 2021.3 LTS. Nature Renderer is updated at version 2021.2.3 (latest). I want to be able to use upscaling techniques, but I get artifacts because of Nature Renderer. I frame debugged and found out that the motion vectors on my grass are incorrect. Attached is a picture of what I see versus what the motion vectors look like for that same frame. Any way to fix this please? Note that I blurred the sky portion of the screenshot because we're under NDA and cannot show our clouds publicly just yet. ![motionvectors (1)](https://github.com/visualdesigncafe/nature-renderer/assets/42563897/9b6aa2d3-92bf-421b-9573-e6b329229b16)
remillardmarc commented 2 months ago

Hello? Is the dev active or not anymore? We're in production and it's been weeks without an answer.

maxplooi commented 1 month ago

It looks like the motion vector pass does not support Nature Renderer. You can fix this by following the documentation for custom shaders.

If you are using Nature Shaders together with Nature Renderer then you'll have to update to Nature Shaders 2022. Support for motion vectors in the Nature Shaders was added in version 2022.