# How to ignore self shadow In Mobile

**URL:** <https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485>\
**Category:** Mobile\
**Tags:** Mobile, unreal-engine, Lighting, UE4, question\
**Created:** [December 27, 2015, 4:05am UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485 "2015-12-27T04:05:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruthless](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ruthless](https://forums.unrealengine.com/u/Ruthless)\
**Post date:** [December 27, 2015, 4:05am UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/1 "2015-12-27T04:05:17Z")

</div>

![71982-selfshadowerror01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/5/025274d12160df5e735e2668c0c2061dc8a2c6c8.jpeg)

Device Screenshot.

UE4 Ver : 4.10

Scene Light :

Directional Light(stationary, Cast Modulated Shadow , Cast Static Shadows , Cast Dynamic Shadows)

Sky Light(static , Cast Static Shadows )

Model: Skeletal Mesh (2Part)

self shadow broken in mobile device.

How to ignore self shadow in Skeletal Mesh? not self shadow only.

EDIT:  
We were testing alllll day ☹

we tested[4.9.2 Full source], [4.10.1 Full source], [4.10.2 Full source] , [4.11 Peview4 Full source] , [4.11 launcher]

test PC spec

- i5 2500k , GTX-680
- VS2013 ,VS 2015 Update1

-test project  
3rd person templete. (No edit)  
Light Source(Directional Light) is Stationary and Cast Modulated Shadows check

-test device  
iphone4s ,iphone5 , iphone5s , iphone6 , iphone6s

-Device profile  
No edit. standard.

and result  
[4.9.2 Full source , VS2013]  
iphone4s → good

iphone5 → good

iphone5s → flickering

iphone6 → flickering

iphone6s → flickering

[4.10.1 Full source , VS2015 update1]

iphone4s → good

iphone5 → good

iphone5s → flickering

 ![77472-img_1263.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/5/7e50f8ceb2293a3c0c420afa1d79200e6846982f.jpeg)

[iphone6]  
iphone6 → flickering

iphone6s → flickering

[4.10.2 Full source , VS2015 update1]  
iphone6 → flickering

[4.11 Peview4 Full source , VS2015 update1]

 ![77473-img_1265.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/9/3a950366ef9c7a40e57c0348e99034e542a41799.jpeg)

[iphone6]  
iphone6 → flickering  
iphone6s → flickering

[4.11 Peview4 Launcher BP only]

 ![77474-img_1266.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/5/87559acc0d2b5b7f7d6c1346b6637648b0274551.jpeg)

[iphone6]  
iphone6 → flickering

mobile peviewer is always good. but run to deivce like that △

i think stationary directional light bug.

when i tried movable directional light. Displayed well. buy frame drop 15~20. I can’t use it in mobile.

How do I solve this problem?

---

<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:** [December 28, 2015, 5:22pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/2 "2015-12-28T17:22:23Z")

</div>

Hi Ruthless,

What type of device are you using when you package?

Also, is this only happening on the device or in the editor as well?

---

<div class="post-metadata">

**Author:** ![Ruthless](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ruthless](https://forums.unrealengine.com/u/Ruthless)\
**Post date:** [December 28, 2015, 6:12pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/3 "2015-12-28T18:12:25Z")

</div>

Test device : iphone5 , iphone5s , iphone6

shadow broken device only. editor is good.

another test. I use Directional Light (Dynamic)

shadow was not broken. but very low performance. ☹

and Test skeletalMesh(1part). shadow was not broken.

---

<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:** [December 28, 2015, 6:40pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/4 "2015-12-28T18:40:06Z")

</div>

Using your settings and steps above I’m not able to see the same issue on the Iphone 5s that I have for testing. I’ve got just a very simple scene setup with two skeletal meshes (TutorialTPP) from the Engine Content folder.

Are you able to recreate this in a blank project with one of the sample assets from the editor/engine folder or any other templates that are provided with the engine? If so, would you mind uploading the project?

Thank you!

Edit:  
To answer your original question, there is no way that I’m aware of to disable self shadowing.

---

<div class="post-metadata">

**Author:** ![Ruthless](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ruthless](https://forums.unrealengine.com/u/Ruthless)\
**Post date:** [January 10, 2016, 5:44am UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/5 "2016-01-10T05:44:04Z")

</div>

we test 4.11 peview.  
shadow broken only iphone6

---

<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:** [January 11, 2016, 11:26pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/6 "2016-01-11T23:26:44Z")

</div>

Are you able to provide a sample project where that I can test? I’ve not been able to reproduce this yet, so perhaps there is something that I can look at here that will.

---

<div class="post-metadata">

**Author:** ![Ruthless](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ruthless](https://forums.unrealengine.com/u/Ruthless)\
**Post date:** [February 2, 2016, 4:51am UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/7 "2016-02-02T04:51:20Z")

</div>

i can’t… sorry. ☹  
I found same issue.

> **[UE4 4.9 - cast modulated shadows causes flickering on IOS dynamic characters](https://forums.unrealengine.com/questions/299641/ue4-49-cast-modulated-shadows-causes-flickering-on.html)**
>
> I’m using UE4 4.9 for mobile IOS. The shadows flicker on certain characters (but not all, despite all having the same options selected) when playing on IOS. It appears fine in editor/play. It resembles z-fighting but there is only one mesh. I am...

and i can upload Intermediate/config/DeviceProfiles.ini

[iPhone6 DeviceProfile]  
DeviceType=IOS  
BaseProfileName=IOS  
CVars=r.LightShaftQuality=0  
CVars=r.MobileContentScaleFactor=2  
CVars=r.LensFlareQuality=0  
CVars=r.BloomQuality=1  
CVars=r.SceneColorFringeQuality=0  
CVars=r.ShadowQuality=1  
CVars=r.PostProcessAAQuality=0  
CVars=r.DepthOfFieldQuality=0  
CVars=r.MotionBlurQuality=0  
CVars=r.LightFunctionQuality=0  
CVars=r.EyeAdaptationQuality=0  
CVars=r.TonemapperQuality=0  
CVars=r.RefractionQuality=0  
CVars=r.HZBOcclusion=0  
CVars=r.MSAA.CompositingSampleCount=0  
CVars=r.RenderTargetSwitchWorkaround=1  
CVars=r.Shadow.MaxResolution=1024  
CVars=r.TiledDeferredShading=1  
CVars=r.TiledDeferredShading.MinimumCount=80  
CVars=r.AmbientOcclusionMaxQuality=0  
CVars=r.Upscale.Quality=0  
CVars=r.SubsurfaceQuality=0  
CVars=r.SSR.Quality=0  
CVars=r.HighQualityLightMaps=0  
CVars=r.DiscardUnusedQuality=0  
CVars=r.MobileHDR32bppMode=0

---

<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:** [February 2, 2016, 3:58pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/8 "2016-02-02T15:58:06Z")

</div>

I’ll give this some additional testing, but I’ve not been able to reproduce this outside of other users seeing this in their projects. When I asked for a sample project, it can simply use the sample assets that Epic provides with the engine, it does not have to be custom content. If you cannot reproduce outside of your project this would explain why I’m seeing the results I am.

After I run the test in a bit I’ll update your this afternoon on my findings and if I’m able to reproduce.

---

<div class="post-metadata">

**Author:** ![Ruthless](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ruthless](https://forums.unrealengine.com/u/Ruthless)\
**Post date:** [February 5, 2016, 4:02pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/9 "2016-02-05T16:02:09Z")

</div>

we test 3rd person example △EDIT

There was no problem when testing with a Stationary Directional Light?

---

<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:** [February 10, 2016, 6:50pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/10 "2016-02-10T18:50:03Z")

</div>

Thank you for all the additional details. I’ve submitted UE-26765 for this particular issue to be looked into.

I’ll update here once there has been a fix internally along with any additional details.

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![Ruthless](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ruthless](https://forums.unrealengine.com/u/Ruthless)\
**Post date:** [March 24, 2016, 5:24am UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/11 "2016-03-24T05:24:26Z")

</div>

hi. Tim  
this issue fix it?

> **[Unreal Engine 4.11 Preview](https://forums.unrealengine.com/showthread.php?94321-Unreal-Engine-4-11-Preview)**
>
> PREVIEW! A Preview of the upcoming 4.11 release is now available via the Epic Games Launcher and . We have made this Preview available so that our developer-community can help us catch issues before the final release. As fixes are implemented, we...

UE-26765 was disappeared in Known Issues list.

but 411 p8 still bug. ☹

---

<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 24, 2016, 6:57pm UTC](https://forums.unrealengine.com/t/how-to-ignore-self-shadow-in-mobile/342485/12 "2016-03-24T18:57:21Z")

</div>

This has been marked as resolved internally and should be resolved once 4.12 releases. It was removed from 4.11 list because it’s now been marked for 4.12 to have it’s resolution. I’ve not yet been able to verify that this is fixed yet though. I’ll have it verified probably tomorrow if I can get my build issues resolved. I’ll post back once I’ve verified that I’m no longer seeing the issue.
