# What caused ghosting effect after varying texture uvs?

**URL:** <https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, question\
**Created:** [August 7, 2023, 9:49am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360 "2023-08-07T09:49:35Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![3yunara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3yunara](https://forums.unrealengine.com/u/3yunara)\
**Post date:** [August 7, 2023, 9:49am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/1 "2023-08-07T09:49:35Z")

</div>

Hello,everyone.  
I vary the texture sample uvs in dynamic material by time. But there is ghosting effect in static mesh which uses the dynamic material to render.Has anyone encountered a similar phenomenon? What caused it?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 7, 2023, 10:00am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/2 "2023-08-07T10:00:06Z")

</div>

Try turning Lumen off… 🙂

---

<div class="post-metadata">

**Author:** ![3yunara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3yunara](https://forums.unrealengine.com/u/3yunara)\
**Post date:** [August 7, 2023, 10:31am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/3 "2023-08-07T10:31:47Z")

</div>

Thanks for your reply ,but after turning off lumen,the ghosting is still

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 7, 2023, 11:56am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/4 "2023-08-07T11:56:28Z")

</div>

Can you make a little vid of it?

---

<div class="post-metadata">

**Author:** ![3yunara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3yunara](https://forums.unrealengine.com/u/3yunara)\
**Post date:** [August 7, 2023, 12:27pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/5 "2023-08-07T12:27:16Z")

</div>

[blur.zip](https://forums.unrealengine.com/uploads/short-url/2ZZwGRMZN1OvLPUvQJmlqZfCt5h.zip) (3.9 MB)  
i always fail to upload mp4 file,only compressed files can be uploaded 😅

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 7, 2023, 12:34pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/6 "2023-08-07T12:34:06Z")

</div>

What happens if you don’t use the emissive pin, just the normal color?

---

<div class="post-metadata">

**Author:** ![3yunara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3yunara](https://forums.unrealengine.com/u/3yunara)\
**Post date:** [August 7, 2023, 12:43pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/8 "2023-08-07T12:43:00Z")

</div>

all black

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 7, 2023, 12:49pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/9 "2023-08-07T12:49:08Z")

</div>

Hmm, can’t be. Can you show the material?

---

<div class="post-metadata">

**Author:** ![3yunara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3yunara](https://forums.unrealengine.com/u/3yunara)\
**Post date:** [August 7, 2023, 12:54pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/10 "2023-08-07T12:54:31Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/1/c7124d0ee2e0f47a8fc5d119114ee8d4ed01bbfc.png)  
These two custom nodes are used to calculate the uvs

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 7, 2023, 12:56pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/11 "2023-08-07T12:56:16Z")

</div>

Well, no idea, of course.

But I don’t understand why the albedo doesn’t work for testing 🙂

---

<div class="post-metadata">

**Author:** ![3yunara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3yunara](https://forums.unrealengine.com/u/3yunara)\
**Post date:** [August 7, 2023, 1:07pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/12 "2023-08-07T13:07:35Z")

</div>

Okey,actually,there is another way.I will use renderdoc to capture one frame to check which step causes this. And if i fix it i’ll let you know.Wait for my good news!

---

<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:** [August 7, 2023, 7:58pm UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/13 "2023-08-07T19:58:06Z")

</div>

It’s not lumen. It’s whatever temporal solution he is using(TSR or TAA). It’s blending the past frames together and no motion vectors are outputting from his material. You got to find output velocity in the material.

---

<div class="post-metadata">

**Author:** ![3yunara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3yunara](https://forums.unrealengine.com/u/3yunara)\
**Post date:** [August 8, 2023, 3:08am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/14 "2023-08-08T03:08:33Z")

</div>

yes,it works! It’s TSR.What should i do to against the TSR effect in the material? what do you mean of output velocity?

---

<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:** [August 8, 2023, 3:30am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/15 "2023-08-08T03:30:14Z")

</div>

Alright np, I helped and explained this already to another person having issue with ghosting. Same stuff applies here.

> [@Ghosting in moving foliage in Unreal Engine 5](https://forums.unrealengine.com/t/ghosting-in-moving-foliage-in-unreal-engine-5/1172596/3):
>
> 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)

And some extra stuff. If you have a monitor above 1080p you can leave r.TemporalAA.Upscaling=1.(TAAU instead of TAA) Anything below 1080p that doesn’t look very good.

You can test between frameweight .3 to .255. 3 being the sharpest with just I tiny bit of flickering or .255 will most likely stop flickering but cause thin objects to look like Vaseline if poured on your screen.

If you are using TAAU. The lower your r.Screenpercentage, the lower frame weight is needed to stop flickering.

Look for an output velocity in your material.

---

<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:** [September 7, 2023, 3:30am UTC](https://forums.unrealengine.com/t/what-caused-ghosting-effect-after-varying-texture-uvs/1253360/16 "2023-09-07T03:30:57Z")

</div>

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