Struggling with lighting on Android

So I’ve banged my head on the proverbial wall for a bit and wanted to reach out and see if I am just doing it wrong.

I am working on a prototype that is basically a dungeon builder. There is a base blueprint that has the basic room in it and a dozen or so alternate rooms that inherit from that and then they are spawned randomly in order.

The issue I am running into is that I don’t seem to be able to get any of the normal lighting techniques to work from within a blueprint.

I’ve tried static point lights, directional light, emissive materials and while they all look great run on the PC, they tend to not work at all rendered in the mobile simulator not on the hardware device it self.

Anyone able to point me in the right direction?

I don’t mind read and working it out, but I seem to be spinning my wheels right now which isn’t real efficient :slight_smile:

Thanks in advance!

Hmm, it looks like the issue revolves around the fact that I am creating the tiles with SpawnActor in the BP, if I drop one of the directly in the scene it is lit properly.

Any ideas?

Hi bot2600,

Have you checked all the linked resources in this thread, specifically the mobile development limitation with respect to lighting?

Thanks for the links, but it is a whole lot of nothing that applies. I was able to get emissive materials working, but it seems you can’t get it to accept baked in static lighting if you are going to dynamically spawn and place your blueprints.

I don’t see any solution really beyond using a graphics program to bake in the lighting and then use emissive materials where I can to supplement it.

One piece of feedback, every time someone asks about doing more with lighting on Android, people are always just linked here:

And that never actually seems to be something that is helpful. People have already read that and are asking for more specific things they can do to work within the limitations and still do randomly generated things. UE4 is a great engine, but it still seems to have pretty limited support for mobile, and maybe that is just the answer for now.

at the moment (altho it seems to change soon) you can only have 1 dynamic light - I only ever had luck with the directional light, in the docs it says if you make some lights static it will work but I gave up on that quickly. I’ve switched my game to unlit emissive materials, there are some techniques in these forums to create fake lights using this technique

see here (altho i cant quite get it to work right)