# Issues with decal & instancedmesh rendering

**URL:** <https://forums.unrealengine.com/t/issues-with-decal-instancedmesh-rendering/371570>\
**Category:** Rendering\
**Tags:** Instanced-Mesh, unreal-engine, bug-report, Decals, question\
**Created:** [September 25, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/issues-with-decal-instancedmesh-rendering/371570 "2016-09-25T12:48:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaOk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Post date:** [September 25, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/issues-with-decal-instancedmesh-rendering/371570/1 "2016-09-25T12:48:21Z")

</div>

I am using these settings in baseengine.ini to prevent decals getting invisible when in shadows:  
[SystemSettings]  
r.EarlyZPassMovable=1  
r.EarlyZPass=2  
r.DBuffer=1

After that I have new issue with instanced meshes (also hierarchical), since decals show through those. If I set use as occluder enabled in instancedstaticmesh-component, the decals no longer show through. But then when moving camera the instances blink violently. How to get both decals and instances show correctly?

 ![108386-instanceoccluder.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/3/8a3f0b3981982decc9047f6beefe1d799911d739.jpeg)

 ![108387-instanceblink2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/4/d243e4aaf2ecda64266f29789979cfc8d15c85cc.jpeg)

---

<div class="post-metadata">

**Author:** ![SaOk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Post date:** [September 27, 2016, 6:13pm UTC](https://forums.unrealengine.com/t/issues-with-decal-instancedmesh-rendering/371570/2 "2016-09-27T18:13:00Z")

</div>

Also noticed the frame and gpu are getting 4ms hit during this (moving camera slowly in editor, not rotating). Draw stays stable and also game (which isnt run in editor).

---

<div class="post-metadata">

**Author:** ![SaOk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Post date:** [September 27, 2016, 8:25pm UTC](https://forums.unrealengine.com/t/issues-with-decal-instancedmesh-rendering/371570/3 "2016-09-27T20:25:49Z")

</div>

I got rid of the issue when enabling Dithered LODTransition in material (and use stencil for LOD Dither Fading in Project rendering settings).
