# Ghosting in moving foliage in Unreal Engine 5

**URL:** <https://forums.unrealengine.com/t/ghosting-in-moving-foliage-in-unreal-engine-5/1172596>\
**Category:** Rendering\
**Tags:** unreal-engine, editor, Rendering, Lumen, Lighting, question\
**Created:** [May 20, 2023, 3:55pm UTC](https://forums.unrealengine.com/t/ghosting-in-moving-foliage-in-unreal-engine-5/1172596 "2023-05-20T15:55:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![TheKJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKJ](https://forums.unrealengine.com/u/TheKJ)\
**Post date:** [May 20, 2023, 5:30pm UTC](https://forums.unrealengine.com/t/ghosting-in-moving-foliage-in-unreal-engine-5/1172596/3 "2023-05-20T17:30:42Z")

</div>

Make sure you are outputting velocity in the foliage material parameters. Note: turning this on will not help the smearing with TSR is on. Turn on FXAA or TAA with these Cvars

r.AntiAliasingQuality=3 -make sure you put that first to stop ghosting.

r.TemporalAACurrentFrameWeight=0.3

r.TemporalAASamples=2

r.TemporalAA.Algorithm=0 (UE4’s secret TSR prototype)

---

_[View the full topic](https://forums.unrealengine.com/t/ghosting-in-moving-foliage-in-unreal-engine-5/1172596)._
