KinoMotion
KinoMotion copied to clipboard
The far clipping plane set to >1000 cause some artifacts
https://my.mixtape.moe/acwaoz.mp4 Unity 5.4.0f3
Hmm, it seems the shader used for the capsule doesn't make correct motion vectors. Could you provide this project for testing?
Nope, this is Standard (Specular) Unity shader. I noticed that this happens if the far clipping plane set to 5000. Test project [Link removed]
Thanks for providing the project!
The issue can be solved by increasing the depth filter coefficient. Here:
https://github.com/keijiro/KinoMotion/blob/master/Assets/Kino/Motion/Shader/Reconstruction.cginc#L28
This possibly causes side effects but seems working in this case. Could you give it a try?
It has no effect... I tried to set it to 50, 75 and 100.
Please try 150 and 200 :)
I tried 150 and it seemed to work.
Well, I tried but no luck on my side. https://s31.postimg.org/8e76q0n2j/Motion_Blur_Bug.png
Thanks for clarifying!
So, this problem might be harder than what I thought. I'll look into it more precisely. Unfortunately, I have no good workaround for it at the moment. Please consider decreasing the far value as much as possible.