how to get rid of weird lighting, android ?
Hello everyone,
I'm making a basic endless runner for mobile. On android (only device tested so far) there is this strange problem with the lighting in the scene. you can compare it as you where to ride your bike down the streets and you look at the shadow on the ground ( it goes past you then moves towards behind you, and so on and on ).
How do I fix this issue ?
I honestly did not understand anything from that bike example. $$anonymous$$aybe record a gif or a short video showing the problem? Also please describe how it should look ins$$anonymous$$d.
Here is an example of what is happening on my android device: https://www.dropbox.com/home?preview=problem%5B1%5D.mp4 and this is what it looks like in the editor:
I can't view that video unless you put it in a public dropbox folder
You mean something like the shadows from streetlights? Probably you can get the desired effect with a continuously rotating directional light (x-axis) ... just an idea.
thank you for your reply :P but I want the exact opposite :P I don't want that weird behavior :P Just 1 directional light and the shadows of the obstacles and player :)
Answer by GameDevMig · Jun 22, 2016 at 04:06 PM
Is the game object labeled "DirectionalLight" actually a directional light? Because it looks like a spot or point light that is being moving every so often.
Other than that, make sure you aren't accidentally cloning a light, because only 1 light will cast a shadow and it the one that is labeled "important". If the lights set to auto, then the most important light will change based on mainCamera position/direction.
thank you for your reply :) This is a recording of my phone: https://www.dropbox.com/home?preview=problem%5B1%5D.mp4 and this is how it should look like
Your answer
Follow this Question
Related Questions
BAKED Shadows TOO light. Help! 0 Answers
Why is the lighting making these tree shadows so DARK 0 Answers
How do I blend shadows? 0 Answers
What are my shadows doing? 0 Answers
AR Game Crashes after launch (AR Foundation/Android) 0 Answers