# \[UE 5.0\] Ghosting Issues with Instanced Static Meshes and TSR/Temporal AA

**URL:** <https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [March 31, 2023, 2:58am UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073 "2023-03-31T02:58:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![LilTeej](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LilTeej](https://forums.unrealengine.com/u/LilTeej)\
**Post date:** [March 31, 2023, 2:58am UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/1 "2023-03-31T02:58:21Z")

</div>

Hey!

I’ve encountered an issue in UE 5.0 where Temporal Super Resolution (TSR) and Temporal Anti-Aliasing (TAA) cause significant emissive ghosting with rapidly moving **instanced** meshes.

I’ve come across suggestions to fix this by changing the velocity pass to write after or during the base pass, but it hasn’t worked for me. I believe this solution is more applicable to movement methods based on vertex deformation or world position offset/displacement. ([This is one of the methods that I tried and it did not work for me](https://www.youtube.com/watch?v=Vxmh7-XPb_E))

I’ve tried disabling TSR and testing with FXAA, which removed the ghosting issue, but I highly prefer the visual quality of TSR and TAA over FXAA. Adjusting console variables for TSR and/or TAA didn’t yield noticeable improvements, except for increasing the current frame weight when using TAA, which made everything appear more jagged, similar to FXAA.

Does anyone have any ideas or suggestions on how to address the ghosting issue caused by TSR and TAA affecting instanced meshes without sacrificing visual quality? Thank you for the help!

[Here’s some footage of the issue](https://imgur.com/a/4FNbHmH)

---

<div class="post-metadata">

**Author:** ![LilTeej](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LilTeej](https://forums.unrealengine.com/u/LilTeej)\
**Post date:** [April 15, 2023, 12:44am UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/2 "2023-04-15T00:44:52Z")

</div>

I’d also like to add that the issue is not directly tied to the speed of movement, since I matched the speed of both methods (instanced/non-instanced) and non-instanced did not have the issue. It is also not a frame rate issue, I capped my framerate to different ranges and the issue still persisted.

---

<div class="post-metadata">

**Author:** ![Qbaism](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qbaism/32/709293_2.png) [@Qbaism](https://forums.unrealengine.com/u/Qbaism)\
**Post date:** [June 20, 2023, 11:10pm UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/3 "2023-06-20T23:10:09Z")

</div>

to me, it seems to happen in combination with dlss, disabling it fixed my ghosting

I also disabled motion blur…

---

<div class="post-metadata">

**Author:** ![LilTeej](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LilTeej](https://forums.unrealengine.com/u/LilTeej)\
**Post date:** [June 30, 2023, 2:40am UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/4 "2023-06-30T02:40:33Z")

</div>

Good to know, thanks! For me it ended up being an issue with how I was updating the Instance Transforms, they weren’t being updated in the velocity buffer as a result

---

<div class="post-metadata">

**Author:** ![rosenand](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rosenand/32/1141324_2.png) [@rosenand](https://forums.unrealengine.com/u/rosenand)\
**Post date:** [July 5, 2023, 4:24pm UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/5 "2023-07-05T16:24:49Z")

</div>

Hey @LilTeej can you elaborate on how exactly you modified the transform update in order to get the velocity buffer updated? Thanks!

---

<div class="post-metadata">

**Author:** ![LilTeej](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LilTeej](https://forums.unrealengine.com/u/LilTeej)\
**Post date:** [July 10, 2023, 10:00pm UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/6 "2023-07-10T22:00:54Z")

</div>

Sure! @rosenand, originally I was moving the instances individually using Update Instance Transform, but I suspected it was causing issues with how the velocity buffer was calculated for the instances, and was causing the ghosting (I very well could be wrong about this, there is very little information for this issue). So to remedy this, I spawned a scene component to act as the “mover” for the instances and attached the ISM components to it. This allows you to move the scene component (I used add local offset) instead of the instances directly, which will correctly calculate the velocity buffers for the instances themselves.

Honestly if you ask me, I think it’s kind of dumb that this work around is necessary for faster moving emissives, and I hope a fix will come eventually.

---

<div class="post-metadata">

**Author:** ![rosenand](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rosenand/32/1141324_2.png) [@rosenand](https://forums.unrealengine.com/u/rosenand)\
**Post date:** [July 13, 2023, 8:58am UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/7 "2023-07-13T08:58:13Z")

</div>

Oh. Thank you very much. In my case I’m moving them along a spline though, so I guess I’ll just need to switch to spawning regular Static Mesh Components instead (hoping UE will still batch them to a single draw call), or even separate Actors, if it turns out Components are still ghosting. Thanks anyway 🙂

---

<div class="post-metadata">

**Author:** ![LilTeej](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LilTeej](https://forums.unrealengine.com/u/LilTeej)\
**Post date:** [July 13, 2023, 6:00pm UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/8 "2023-07-13T18:00:28Z")

</div>

Fair enough! Although I suppose you could still attach the instanced mesh components to scene components, then move the scene components along the spline. But whatevs, good luck with your solution!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [August 12, 2023, 6:01pm UTC](https://forums.unrealengine.com/t/ue-5-0-ghosting-issues-with-instanced-static-meshes-and-tsr-temporal-aa/835073/9 "2023-08-12T18:01:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
