4.12.5 preview shadow issue on mobile and PIE
First of all this issue has been stated by hls333555 and TeamKingdom many times on different posts (links at the bottom) and it is a known bug at 4.5. but since then it seems, problem has not solved and there is no clear answer. And staff member Sean Flint asked me to post a new question due to age of these post, I'm opening a new one. Related posts:
Question: I have shadow issue related to dynamic lights. They don't work on android builds and mobile preview. PC builds and viewport preview are fine. My scene does not contain any skylight because it's not outdoor. It's indoor a closed building, there are some dynamic movable lights that give colorful light effects to the area. If you run the scene with selected viewport it's fine.
But when you switch it to the mobile preview (PIE) it's not so nice.
Same results also can be observed in builds. PC build has the same result with image 1, and Android build is the same with image 2. They match their related images in here.
I don't know this is a bug or maybe it was a bug but solved i don't know, But i have the similar issue of these almost 2 years old posts and i haven't find any clear answer (most of them say change environment color but it doesn't help)
https://answers.unrealengine.com/questions/110655/45-preview-shadow-issue-on-mobile.html https://answers.unrealengine.com/questions/123554/reflection-captures-dont-work-with-moveable-direct.html https://answers.unrealengine.com/questions/123761/stationary-skylight-does-not-bake-ao-on-mobile-pla.html
asked Jul 12 '16 at 08:38 AM in Rendering
Dynamic lighting on mobile does not shadow cast for point lights. So part of the issue here is that shadow casting for dynamic lights may be part of what you're seeing.
Secondly, you can only have a max of 4 overlapping dynamic point lights for each actor. This is not to say that you cannot have more than 4 for your scene though. As an example, if you have a floor mesh. You can have 4 dynamic point lights casting on the floor. The fifth or more will not cast on the floor mesh. This image below demonstrates this.
See how 5 and 5 cast on the wall, but not on the floor, which is a single static mesh. This is likely the issue you're seeing with your colored lights not working properly.
The issues in the other posts linked aren't necessarily directly related to this iss, but are more in line with limitations of their use or the mobile platform itself.
For a good source of information on mobile development I would recommend our documentation here. https://docs.unrealengine.com/latest/INT/Platforms/Mobile/
I hope this helps.
answered Jul 12 '16 at 07:16 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here