# MSAA Mobile Bugs

**URL:** <https://forums.unrealengine.com/t/msaa-mobile-bugs/388758>\
**Category:** Rendering\
**Tags:** decal, Mobile, cascade-shadow, msaa, unreal-engine, question\
**Created:** [March 23, 2017, 12:10pm UTC](https://forums.unrealengine.com/t/msaa-mobile-bugs/388758 "2017-03-23T12:10:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohannHirsch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohannHirsch](https://forums.unrealengine.com/u/JohannHirsch)\
**Post date:** [March 23, 2017, 12:10pm UTC](https://forums.unrealengine.com/t/msaa-mobile-bugs/388758/1 "2017-03-23T12:10:05Z")

</div>

Hey there. I found a mistake if, in a mobile render (ES Preview), activate the Mobile MSAA, restart the project, re-enable the ES Preview - decals not visible, the cascade shadows do not work, and so on.

 ![131359-msaa_bug.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/7/5c7b0d602c363ff926926e8bb352e32bc1e25894.jpeg)

Also with this package is the problem, flares go right through the objects (When mobile MSAA is enabled).

> **[Custom Lens Flares Material in Visual Effects - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/custom-lens-flares-material)**
>
> This content is designed to help simulate custom lens flare effects like simple flares around light sources, sun, or anamorphic lens flares and correctly handle cases when objects are overlapped.

Video bug (Mobile MSAA active):

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [March 27, 2017, 4:21pm UTC](https://forums.unrealengine.com/t/msaa-mobile-bugs/388758/2 "2017-03-27T16:21:50Z")

</div>

Hi Johann,

I was able to reproduce the decal issue, While testing I confirmed that the shadow cascades were still active the only difference was a bit lower quality however this was consistent with or without MSAA so you may need to elaborate on what you mean about shadow cascades not working.

That being said I put in a ticket here: [Unreal Engine Issues and Bug Tracker (UE-43359)](https://issues.unrealengine.com/issue/UE-43359)

Regarding the lens flair, there is a lot of custom work being done on those materials and the broken functionality may be related to the same underlying issue here so I think the bug that is currently entered shall suffice.

Let me know if you have any additional concerns/questions.

Ed

---

<div class="post-metadata">

**Author:** ![JohannHirsch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohannHirsch](https://forums.unrealengine.com/u/JohannHirsch)\
**Post date:** [March 27, 2017, 4:35pm UTC](https://forums.unrealengine.com/t/msaa-mobile-bugs/388758/3 "2017-03-27T16:35:12Z")

</div>

Hello Ed,

I talked about this:

> **[Use Cascaded Shadows](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Lighting/HowTo/CascadedShadow/)**
>
> Setting up Cascaded Shadows for mobile games.

They also do not work when the Mobile MSAA is on.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [March 27, 2017, 9:23pm UTC](https://forums.unrealengine.com/t/msaa-mobile-bugs/388758/4 "2017-03-27T21:23:26Z")

</div>

I apologize if I wasn’t being clear. I tested cascaded shadow maps and verified that they were working on my end even after enabling MSAA.

I tested this by setting “Num Dynamic Shadow Cascades” to 2, the “Distribution Exponent” to 10, and “Transition Fraction” to 0.

What this does is put a hard transition between two shadow maps very close to the camera. This makes it very obvious if shadow cascades aren’t working. If you watch this video you can see the hard transition between shadow maps on the edge of the shadow.

What I wanted to know is how you are determining that shadow cascades aren’t working. What is the test that you are running?

---

<div class="post-metadata">

**Author:** ![JohannHirsch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohannHirsch](https://forums.unrealengine.com/u/JohannHirsch)\
**Post date:** [March 28, 2017, 8:02am UTC](https://forums.unrealengine.com/t/msaa-mobile-bugs/388758/5 "2017-03-28T08:02:20Z")

</div>

Sorry, everything works fine. The problem remains only with decals and that pack from the marketplace.
