# Sprite stops rendering if center point is visually blocked

**URL:** <https://forums.unrealengine.com/t/sprite-stops-rendering-if-center-point-is-visually-blocked/128162>\
**Category:** UDK Programming and UnrealScript\
**Tags:** unreal-engine\
**Created:** [June 30, 2019, 8:58pm UTC](https://forums.unrealengine.com/t/sprite-stops-rendering-if-center-point-is-visually-blocked/128162 "2019-06-30T20:58:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coldscooter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Post date:** [June 30, 2019, 8:58pm UTC](https://forums.unrealengine.com/t/sprite-stops-rendering-if-center-point-is-visually-blocked/128162/1 "2019-06-30T20:58:35Z")

</div>

I’m using a sprite for a moon in the sky. It’s the first time i’ve used sprites and i’m noticing that if the center point of the sprite is blocked (like from a branch of a tree) the whole sprite stops rendering.

Anyone know how to make it always render? Cheers

---

<div class="post-metadata">

**Author:** ![Avatarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Avatarus](https://forums.unrealengine.com/u/Avatarus)\
**Post date:** [July 3, 2019, 9:31am UTC](https://forums.unrealengine.com/t/sprite-stops-rendering-if-center-point-is-visually-blocked/128162/2 "2019-07-03T09:31:04Z")

</div>

Does this happens both with dx9 and dx11?

---

<div class="post-metadata">

**Author:** ![Coldscooter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Post date:** [July 3, 2019, 8:18pm UTC](https://forums.unrealengine.com/t/sprite-stops-rendering-if-center-point-is-visually-blocked/128162/3 "2019-07-03T20:18:30Z")

</div>

I have only checked DX9 (which is what I use for the Steam build of my game).

---

<div class="post-metadata">

**Author:** ![Nathaniel3W](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Post date:** [July 4, 2019, 6:07am UTC](https://forums.unrealengine.com/t/sprite-stops-rendering-if-center-point-is-visually-blocked/128162/4 "2019-07-04T06:07:10Z")

</div>

I don’t know how to fix sprites. But you might be able to do this with a particle effect. It will always face toward the camera and it won’t disappear behind tree branches.

---

<div class="post-metadata">

**Author:** ![Coldscooter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Post date:** [July 4, 2019, 3:23pm UTC](https://forums.unrealengine.com/t/sprite-stops-rendering-if-center-point-is-visually-blocked/128162/5 "2019-07-04T15:23:22Z")

</div>

Nice idea @Nathaniel3W I think I’ll do exactly that 🙂
