How to setup very basic lighting (android)

Hi guys,
I do not know if it should be here or in android forums. It is basic stuff:

I want to know how to setup lights to get a similar effect to this:

I want to make an endless runner with a procedural generated scenario which would contain some torches. I will move the scenario, I think I need movable lights for the torches (right?)

I have a flipbook which uses a material that contains only a normalmap, base color and opacity mask (three textures).

In android it seems I can not use anything besides directional lights. Point of light does not render in mobile preview neither in device (samsung galaxy s3).

I need help in how to design the whole thing:

  • I need to either dynamically instantiate lights or be able to move lights in runtime. These lights should be “Point Light” for torches (i think)
  • What are my lighting options for mobile?

Thanks in advance

Dredok

Hey Dredok -

Take a look at CaptainScience’s work here, Moving light sources on mobile? - Android Development - Unreal Engine Forums, currently the mobile pipeline is limited to one movable directional light only, so a movable point light is not currently possible, but the method CaptainScience has suggested would work for a torch.

Ei Eric,
Thanks for answering.

I have already look at CaptainScience’s work. I’m not able to make it work for my 2D sprites :frowning:

I can not reproduce a similar effect like the link I posted.