crest icon indicating copy to clipboard operation
crest copied to clipboard

Distant shore foam and waves jitters and flickers when using TAA

Open andrew-sidereal opened this issue 4 years ago • 9 comments

Describe the bug When viewing distant shorelines, the shoreline foam flickers and jitters. You can see it in this video: https://www.youtube.com/watch?v=EEBr6L6NYkg&feature=youtu.be

Built-in Pipeline, 2019.4.4

andrew-sidereal avatar Nov 19 '20 15:11 andrew-sidereal

It's extremely evident in the central pond area, but it's actually an issue all around the shore if you look closely.

andrew-sidereal avatar Nov 19 '20 15:11 andrew-sidereal

It doesn't just seem like LOD or such, it seems to rapidly switch back and forth between different foam positions, creating a flickering effect.

andrew-sidereal avatar Nov 19 '20 15:11 andrew-sidereal

Is this reproducible in the main example scene?

daleeidd avatar Nov 19 '20 16:11 daleeidd

Someone else has experiences this problem on Discord. They are using Enviro. Are you also using it? It might be related.

daleeidd avatar Apr 12 '21 23:04 daleeidd

Yes, I'm using Enviro. Glad you have a lead! Eager for a resolution!

On Mon, Apr 12, 2021, 7:34 PM Dale Eidd @.***> wrote:

Someone else has experiences this problem on Discord. They are using Enviro. Are you also using it? It might be related.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wave-harmonic/crest/issues/691#issuecomment-818310146, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMSZ2WU5EJTDGHHZIEFAPLTIN7PNANCNFSM4T3SCJWA .

andrew-sidereal avatar Apr 13 '21 04:04 andrew-sidereal

Would it be possible to test with enviro disabled, to confirm that is the issue?

huwb avatar Apr 13 '21 12:04 huwb

From user Jamison on Discord:

So I was able to get rid of the flickering by turning off the Anti-Aliasing on the Post Processing component added by Enviro. I'm still working on adding Anti-Aliasing that doesn't cause flicker for me. If I use FXAA or SMAA instead of TAA the problem goes away

daleeidd avatar Apr 13 '21 20:04 daleeidd

I believe I have the solution -- I am still using TAA for Anti-Aliasing, as FXAA and SMAA aren't feasible in my case. However, by lowering the "Jitter Spread" on the Camera's Post Processing "Anti-Aliasing" section from the default of 0.75 to 0.35, the shoreline jittering effect has been eliminated.

andrew-sidereal avatar Apr 14 '21 18:04 andrew-sidereal

Thanks. Glad to have a workaround. I believe (hope) this can be properly fixed by supporting motion vectors. It is on the list, but not a high priority.

daleeidd avatar Apr 14 '21 19:04 daleeidd