Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by TheVastBernie · Jul 20, 2017 at 01:18 AM · renderingpost processinganti-aliasing

PostProcessing Motion Vectors bleeding through geometry

First of all, I need to praise the new Post Processing tools, they are quite awesome, however I have run into an issue with the motion vectors unity uses for a few of the effects. Moving objects seem to bleed through opaque ones, when they are moving just behind or right through them. Visualizing the motion vectors gives me the following result: alt text The brown cube is sticking through a thinly scaled and textured cube. It is moving left to right. But the intersection seems to leave behind some hazy motion vector data, even though it should not be visible. This haze seems to penetrate the object for about .2 units.

The problem is, that many of unitys post effects rely on this data, meaning effects like TXAA or motion blur have ugly artifacts under motion. You can see distortions below the cube where the data isn't reliable: alt text

Does anyone know how to get rid of those artifacts? They make using TXAA or motion blur effects nearly impossible to use in top-down scenarios, without the ugly look...

unity1.gif (501.1 kB)
unity2.gif (433.3 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by TheVastBernie · Jul 23, 2017 at 08:48 PM

Bump. This seems like a major bug, that causes very visible artifacts and it isn't addressed anywhere. It's specially bad in top down games. You are basically unable to use txaa or motion blur because the artifacts are so promenent

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by CianNoonan · Sep 25, 2019 at 12:23 PM

The culprit is dynamic batching, disable dynamic batching and this will be fixed.

I've opened a bug about it: (Case 1244734)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ToruTheRedFox · May 08, 2020 at 10:42 AM

The culprit is actually that Unity draws motion vectors in a way that doesn't keep their depth buffer separate from the main depth buffer, causing depth issues in the actual viewport, forcing the motion vector shader to not write to depth as a result, which causes the depth issues that you see here.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

72 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to make the camera image rendered in render texture with post-processing 0 Answers

Accessing HDRP's Volume in script 0 Answers

Post processing with multiple camera 1 Answer

HDRP Edge Detection FullScreen Custom Pass 0 Answers

Can't see sprites in scene view after selecting Universal Render Pipeline Asset. Sprites do appear in game view, but not just in Scene view 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges