# Can I use "unlit" lighting on mobile?

**URL:** <https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624>\
**Category:** Mobile\
**Tags:** Mobile, unlit, unreal-engine, Lighting, question\
**Created:** [February 1, 2015, 6:11am UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624 "2015-02-01T06:11:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![akaapplications](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@akaapplications](https://forums.unrealengine.com/u/akaapplications)\
**Post date:** [February 1, 2015, 6:11am UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624/1 "2015-02-01T06:11:54Z")

</div>

I currently have my game using the “viewmode unlit” console command on “Event Begin Play”. This makes the game look a bit more cartoony which is the look I’m going for. For some reason, launching it on mobile (Android L, Nexus 6) doesn’t set the viewmode correctly. Is this a limitation with mobile lighting, or possibly with the execution of the console command?

Thanks!

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [February 1, 2015, 6:53am UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624/2 "2015-02-01T06:53:34Z")

</div>

It should support it as it is most basic GPU rendering, its actully recommanded to use that if you can it let your game run in lower spec devices. You should set materials to unlit insted. Look up ninja ninja mobile example, itbuses unlit too

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3221808d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3221808d](https://forums.unrealengine.com/u/anonymous_user_3221808d)\
**Post date:** [February 3, 2015, 6:35am UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624/3 "2015-02-03T06:35:53Z")

</div>

This is probably more to do with mobile optimization not allowing the rendering mode. You should probably be authoring your materials to be unlit instead of activating the render view mode

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [February 3, 2015, 6:45pm UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624/4 "2015-02-03T18:45:38Z")

</div>

Hey akaapplications -

Both and RimmyD are correct you would need to setup your game from the start to not use lit materials. The viewmodes in the editor are based in DirectX shader language and do not transfer in a 1 to 1 relationship to the OpenGL shader language on mobile devices.

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![SAURABHTEMBHURNE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SAURABHTEMBHURNE](https://forums.unrealengine.com/u/SAURABHTEMBHURNE)\
**Post date:** [December 7, 2019, 2:17pm UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624/5 "2019-12-07T14:17:53Z")

</div>

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/8/488e4c0d6263e0dc46904e8b44d6d5d1b9f69281.jpeg "How to Fake Dynamic Lighting in UE4 (Introduction to the series)") ](https://www.youtube.com/watch?v=cF9_Q2qS_6kPLrAUW92noVumlfZMF6qNhB-Gg8BmVZ6l6)

TRY THIS MIGHT HELP YOU. ALMOST NO PERFORMACE LOST IF DONE IN C++ .

---

<div class="post-metadata">

**Author:** ![ppchavan001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ppchavan001](https://forums.unrealengine.com/u/ppchavan001)\
**Post date:** [December 7, 2019, 3:16pm UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624/6 "2019-12-07T15:16:49Z")

</div>

you need special permissions to run “viewmode unlit” console command in packaged game,  
all mobile devices support the mode

simply add: r.ForceDebugViewModes=1

to the DefaultEngine.ini under the [RenderSettings]

---

<div class="post-metadata">

**Author:** ![Nitman140](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nitman140](https://forums.unrealengine.com/u/Nitman140)\
**Post date:** [April 9, 2022, 7:55pm UTC](https://forums.unrealengine.com/t/can-i-use-unlit-lighting-on-mobile/305624/7 "2022-04-09T19:55:35Z")

</div>

Don’t work
