Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by cedricvr · Jun 22, 2016 at 07:42 AM · androidlightingunity5shadowsissue

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. alt text alt text 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 ?

screenshot-2016-06-22-03-22-352.png (120.0 kB)
screenshot-2016-06-22-03-22-381.png (133.6 kB)
Comment
Add comment · Show 13
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SarperS · Jun 22, 2016 at 09:15 AM 0
Share

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.

avatar image cedricvr SarperS · Jun 22, 2016 at 01:03 PM 0
Share

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: alt text

untitled.png (219.8 kB)
avatar image SarperS cedricvr · Jun 22, 2016 at 01:06 PM 0
Share

I can't view that video unless you put it in a public dropbox folder

Show more comments
avatar image saschandroid · Jun 22, 2016 at 12:49 PM 0
Share

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.

avatar image cedricvr saschandroid · Jun 22, 2016 at 01:01 PM 0
Share

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 :)

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cedricvr · Jun 22, 2016 at 06:42 PM 0
Share

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 alt text

untitled.png (219.8 kB)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges