# DBuffer Decals flicker when moving

**URL:** <https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788>\
**Category:** Rendering\
**Tags:** unreal-engine, flickering, bug-report, Decals, question\
**Created:** [March 25, 2016, 8:18pm UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788 "2016-03-25T20:18:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shirk](https://forums.unrealengine.com/u/Shirk)\
**Post date:** [March 25, 2016, 8:18pm UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/1 "2016-03-25T20:18:10Z")

</div>

Currently enabling DBuffer decals in 4.10.4 causes decals to flicker when the camera moves.  
Heres a gif of the problem

> **[Imgur](https://i.imgur.com/oq8cVsd.gifv)**
>
> 722 views on Imgur

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [March 28, 2016, 3:40pm UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/2 "2016-03-28T15:40:48Z")

</div>

Hi Shirk,

I’m not able to reproduce this using a basic dbuffer decal and scene setup. I’ve attached a sample project here. Can you reproduce this in that project and reupload it here for me?

I also tested this scene with 4.10, 4.11, and our internal build of 4.12 with no issue.

If you’re able to reproduce, also make sure to include all repro steps.

Thank you!

Tim

TestProject

---

<div class="post-metadata">

**Author:** ![Shirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shirk](https://forums.unrealengine.com/u/Shirk)\
**Post date:** [March 28, 2016, 6:35pm UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/3 "2016-03-28T18:35:36Z")

</div>

I downloaded the project, and initially the decal works as expected aside from the decal shifting around while you’re moving, but I assume that’s just an issue with deferred decals themselves. But I found the issue to be if you have a very small vertical height for the decal. In your project you have the decal 128 units tall, which although works, is extremely impracticable as a decal because of stretching along vertical surfaces. I set the decal to be 5 units tall to prevent that issue because you wouldn’t want an object to move over the decal and then suddenly have the decal applied to it, in almost no scenarios is that wanted.

The issue remains if you change the decal height to a very low number.

> **[Imgur](https://i.imgur.com/XG1hZPp.gifv)**
>
> 528 views on Imgur

It looks like zfighting, but the decal has volume so it shouldnt be happening.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [March 30, 2016, 6:14pm UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/4 "2016-03-30T18:14:45Z")

</div>

I’ve submitted UE-28917 for this to be tracked. Once there is an update I will post back here with any relevant information.

Thank you!

---

<div class="post-metadata">

**Author:** ![Hainzgrimmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hainzgrimmer](https://forums.unrealengine.com/u/Hainzgrimmer)\
**Post date:** [April 6, 2016, 10:37am UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/5 "2016-04-06T10:37:39Z")

</div>

I know this comment could be less valuable than 2 cents but I had the very same problem as Shirk but I solved because in Project Setting → Rendering → Early Z-pass I had forgotten “Decide automatically” instead of “Opaque and Masked meshes” and in my case the decal is scaled x:2 y:13.5 z:13.5 (so really tiny)

---

<div class="post-metadata">

**Author:** ![Shirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shirk](https://forums.unrealengine.com/u/Shirk)\
**Post date:** [April 6, 2016, 2:30pm UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/6 "2016-04-06T14:30:09Z")

</div>

I tried your suggestion, an although now the flickering is gone, the decals can appear through other objects.

[http://i.imgur.com/Uo1SWHg.jpg](http://i.imgur.com/Uo1SWHg.jpg)

---

<div class="post-metadata">

**Author:** ![Hainzgrimmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hainzgrimmer](https://forums.unrealengine.com/u/Hainzgrimmer)\
**Post date:** [April 7, 2016, 2:09pm UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/7 "2016-04-07T14:09:51Z")

</div>

I dunno if laugh more for the decals through the objects or for the trump target dummy! :'D

-serius mode on- it’s strange because my decals haven’t that problem: may the decal volume too big (in this case too high)? I know it’s another 2cents suggestion…

---

<div class="post-metadata">

**Author:** ![GraphicsMode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GraphicsMode](https://forums.unrealengine.com/u/GraphicsMode)\
**Post date:** [April 24, 2016, 2:55am UTC](https://forums.unrealengine.com/t/dbuffer-decals-flicker-when-moving/351788/8 "2016-04-24T02:55:18Z")

</div>

I’m getting this but also a big translucent sphere on the left that rotates as I move around. I changed the primitive in the decal’s material editor to a plane and noticed it changed in the viewport too!

A very strange bug.
