Skip to content

The far clipping plane set to >1000 cause some artifacts #12

Open

Description

@nxrighthere

Activity

  1. self-assigned this
    on Aug 2, 2016
  2. keijiro commented on Aug 2, 2016

    @keijiro
    Owner

    Hmm, it seems the shader used for the capsule doesn't make correct motion vectors. Could you provide this project for testing?

  3. nxrighthere commented on Aug 2, 2016

    @nxrighthere
    Author

    Nope, this is Standard (Specular) Unity shader.
    I noticed that this happens if the far clipping plane set to 5000.
    Test project [Link removed]

  4. changed the title [-]Motions Blur has some artifacts[/-] [+]The far clipping plane set to >1000 cause some artifacts[/+] on Aug 2, 2016
  5. keijiro commented on Aug 3, 2016

    @keijiro
    Owner

    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?

  6. nxrighthere commented on Aug 3, 2016

    @nxrighthere
    Author

    It has no effect... I tried to set it to 50, 75 and 100.

  7. keijiro commented on Aug 4, 2016

    @keijiro
    Owner

    Please try 150 and 200 :)

    I tried 150 and it seemed to work.

  8. nxrighthere commented on Aug 4, 2016

    @nxrighthere
    Author

    Well, I tried but no luck on my side.
    https://s31.postimg.org/8e76q0n2j/Motion_Blur_Bug.png

  9. keijiro commented on Aug 5, 2016

    @keijiro
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions