# Light limitation on Android

**URL:** <https://forums.unrealengine.com/t/light-limitation-on-android/31641>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [June 3, 2015, 4:14pm UTC](https://forums.unrealengine.com/t/light-limitation-on-android/31641 "2015-06-03T16:14:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RomuVdr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RomuVdr](https://forums.unrealengine.com/u/RomuVdr)\
**Post date:** [June 3, 2015, 4:14pm UTC](https://forums.unrealengine.com/t/light-limitation-on-android/31641/1 "2015-06-03T16:14:27Z")

</div>

Hi,

After spending lot of time on light I found this very useful tips:

> **[TIP: How to Enable Dynamic Shadows & Correct Reflection Maps on Mobile](https://forums.unrealengine.com/showthread.php?70511-TIP-How-to-Enable-Dynamic-Shadows-amp-Correct-Reflection-Maps-on-Mobile)**
>
> There are a lot of questions and not a lot of concrete answers swirling around about dynamic lighting on mobile. Here’s how we got it to work in Mega Blast: Anything that receives or casts shadows must use the\*\* Default Lit\*\* material shading...

but my issue is not resolved…

In my game, I want to throw a fire torch that will illuminate the room. How to do that on android ? ( working well on pc 😕 )

> **[Lighting for Mobile Platforms](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Lighting/)**
>
> Setting up lighting for mobile games.

UE4 team will break this limitation ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a2ec11f5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a2ec11f5](https://forums.unrealengine.com/u/anonymous_user_a2ec11f5)\
**Post date:** [June 3, 2015, 5:29pm UTC](https://forums.unrealengine.com/t/light-limitation-on-android/31641/2 "2015-06-03T17:29:07Z")

</div>

Dynamic lighting is fairly limited on mobile, but you have two options:

1. Use OpenGL 3.1 + AEP. Most of the limitations disappear, and you can use dynamic lighting, SSR, and more complex materials. You are still limited by the performance of the device so you need to be careful with how many features you use. The downside is that you will only be able to target the very newest Android devices. Also, you will need to compile the engine from source and, I believe, there is only support for the Nvidia Shield tablet right now. Support for all compatible devices will be coming eventually, but I haven’t heard any news on that yet.

2. Create simple dynamic lights yourself in the material editor. You can use simple distance and/or dot products to add emissive light yourself for simple lights. You simple create a parameter in your material for the location of your light, and I suggest calculating the light in a custom UV to make it cheaper. I posted a couple simple examples in a thread [here](https://forums.unrealengine.com/showthread.php?27309-Moving-light-sources-on-mobile). That should give you a starting point if you want to try that method.

---

<div class="post-metadata">

**Author:** ![RomuVdr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RomuVdr](https://forums.unrealengine.com/u/RomuVdr)\
**Post date:** [June 3, 2015, 5:59pm UTC](https://forums.unrealengine.com/t/light-limitation-on-android/31641/3 "2015-06-03T17:59:24Z")

</div>

Thank a lot CaptainScience, the second option sounds like good for me.
