Can I use "unlit" lighting on mobile?

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!

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

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

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

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

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]

Don’t work