x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Dynamic light on mobile

Documentation says movable light is not supported on mobile. Though, release notes and staff on this forums states movable point light (up to 4) is supported on mobile. I'm trying to implement flashlight (or lamp), it works well on macOS and mobile preview, but light is absent on iOS and HTML5. I'm really interested in iOS only, but HTML5 support would be great.

I've tried to disable shadows for my movable point light but still nothing. Is it supported on iOS?

In case it is not supported yet, is there blueprint or tutorial on implementing flashlight/lamp for mobile?

I've found two [1, 2] fake dynamic light threads on forums. Would any of this work as a dynamic light implementation?

Product Version: UE 4.13
Tags:
more ▼

asked Oct 11 '16 at 06:58 PM in Rendering

avatar image

Cfr
3 1 2 4

avatar image Cfr Oct 11 '16 at 07:07 PM

Here is a link to my project: jge.zip (50MB) in case it can help.

avatar image antinnit Aug 11 '17 at 12:17 AM

Did anything change with lights on mobile over newer versions of the engine, or even ES to Vulkan situations, would be nice to have dynamic lights tbh?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Cfr,

Movable Point lights were implemented in 4.9. They still have their limitations though like no shadow casting and you can have as many point lights as you'd like, not just 4. The thing there is that a single point light cannot affect more than 4 surfaces so if you have multiple point lights in an area only 4 of them will affect a single surface like a floor mesh.

Something like a flash light would be harder to do though since Spot Lights are not supported for mobile at all yet.

I've tried to disable shadows for my movable point light but still nothing. Is it supported on iOS?

Should be supported. I've not tried in a while for iOS, though. And I've not seen any reports come in specifically about this issue. Could be likely that you have too many point lights overlapping on a single surface. That would be where I would start looking.

is there blueprint or tutorial on implementing flashlight/lamp for mobile?

Possibly you could fake it with a movable point light and a material for the light beam, but there is no shadow casting yet.

The other two suggestions have been around for a while. If you think it's something that could work for your game they aren't bad suggestions to fake it.

more ▼

answered Oct 11 '16 at 07:23 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question