# \[Rendering\] Modulated shadows do not combine correctly on mobile

**URL:** <https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248>\
**Category:** Rendering\
**Tags:** Shadows, Mobile, unreal-engine, Rendering, question\
**Created:** [October 14, 2015, 9:09am UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248 "2015-10-14T09:09:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenRetan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenRetan](https://forums.unrealengine.com/u/BenRetan)\
**Post date:** [October 14, 2015, 9:09am UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248/1 "2015-10-14T09:09:58Z")

</div>

I just enabled modulated shadows on mobile and noticed that they are not combining correctly.

For instance, in the reference below, I have a character with an attached mesh and the two shadows do not combine correctly.

Expected result:  
The player shadow and the bat shadow should be the same tint

Actual result:  
The player shadow and the bat shadow are different values

Test platform:  
Samsung Galaxy S6

[![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/2/c21bd66616900ab237b4e544fcfb732bc0cb3abd.png) ](https://files.slack.com/files-tmb/T055P308U-F0CDNV283-e41987accc/2015_10_14_01.48.31_720.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2ed5b4c7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2ed5b4c7](https://forums.unrealengine.com/u/anonymous_user_2ed5b4c7)\
**Post date:** [October 14, 2015, 9:13am UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248/2 "2015-10-14T09:13:16Z")

</div>

Modulated Shadows is a old shadows from UE3/UDK.

[https://udn.epicgames.com/Three/ModulatedShadows.html](https://udn.epicgames.com/Three/ModulatedShadows.html)

---

<div class="post-metadata">

**Author:** ![BenRetan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenRetan](https://forums.unrealengine.com/u/BenRetan)\
**Post date:** [October 14, 2015, 9:15am UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248/3 "2015-10-14T09:15:06Z")

</div>

As far as I am aware, this is a new feature in 4.9 (for mobile devices)

See the 4.9 release notes here:

> **[Unreal Engine 4.9 Released!](https://www.unrealengine.com/en-US/blog/unreal-engine-49-released)**
>
> Unreal Engine 4.9 brings hundreds of updates to Unreal Engine 4, including 129 improvements from the community of Unreal Engine developers on GitHub! This release introduces many new mobile features, expanded support for VR platforms and tons of...

Under the section “NEW: DYNAMIC CHARACTER SHADOWS FOR MOBILE”

I am referring specifically to the section that says “To enable this feature, turn on the “Cast Modulated Shadows” option on a directional light!”

I have added a “mobile” tag to this question to make sure that people are aware that this is a mobile specific question

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2ed5b4c7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2ed5b4c7](https://forums.unrealengine.com/u/anonymous_user_2ed5b4c7)\
**Post date:** [October 14, 2015, 9:17am UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248/4 "2015-10-14T09:17:44Z")

</div>

Yes it is new feature for UE4 but limitations is same.

---

<div class="post-metadata">

**Author:** ![BenRetan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenRetan](https://forums.unrealengine.com/u/BenRetan)\
**Post date:** [October 14, 2015, 9:21am UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248/5 "2015-10-14T09:21:55Z")

</div>

I’m not sure what you mean by “limitations is same”.

In PIE, under the Selected Viewport and the Mobile Preview option for the game, the attached object (in this case, the bat) do not render shadows. The expected result however is that they would render correctly.

On device (Samsung Galaxy S6), the shadows are rendered but not combined correctly, as shown in the screenshot above.

---

<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:** [October 15, 2015, 6:22pm UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248/6 "2015-10-15T18:22:39Z")

</div>

Hi Ben,

As svv3dUDN mentioned this is a limitation at the moment with a newer feature. I’ve got ahead and entered a ticket for this with UE-22184.

I want to preface that this may be a limitation of the modulated method for mobile and may not be resolved in the near future or at all. Once there is an update for the ticket I’ll post back here with any relevant information.

Thank you!

Tim

---

<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:** [October 21, 2015, 2:12pm UTC](https://forums.unrealengine.com/t/rendering-modulated-shadows-do-not-combine-correctly-on-mobile/335248/7 "2015-10-21T14:12:12Z")

</div>

Hi Ben,

I got an update on this one. This is actually a limitation of Modulated Shadows. Since this is a newer feature there isn’t a lot of documentation out there other than the older UDK page.

We will have a new documentation page up soon with some information on this implementation in UE4 along with limitations and other details related to the feature.

Tim
