• 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 /
avatar image
0
Question by GuardiaN95 · Dec 17, 2014 at 12:36 PM · androidgameshadows

Android game, no shadows...

Hello everyone, I am making an android game, pretty much simple one. I made an enviroment for game, aded directional light, it had nice looking shadows in editor, but, as soon as i exportet my project as .apk , shadows dissapeared. In editor, in game, everywhere. Since then, I am unable to get them back! Even not in the editor! I tried.to change project settings-> quality, to enable them, everything seems fine, but shadows are not here... Is there any way to make shadows in androud game? Game is simple, so shadows will be like jackpot.

And, another question, can I make skybox visible, and to have fog in same time, like to make distant, ground fog, because I am making endless runner game, so I don't want to make player able to see spawning buildings, but also want to make him see sky...

Comment
Add comment · Show 3
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 GuardiaN95 · Dec 18, 2014 at 07:25 AM 0
Share

Any help?

avatar image zharik86 · Dec 18, 2014 at 07:42 AM 0
Share

Which are you test device your application? Not all mobile devices support Unity shadows. Tegra-based Android devices are not supported shadows. For more information see docs about shadow.

avatar image GuardiaN95 zharik86 · Dec 18, 2014 at 07:56 AM 0
Share

I don't think it is about device that I use, because shadows can't be seen even in the editor, but, I am using LG Optimus L7-p700

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by HarshadK · Dec 18, 2014 at 07:28 AM

For your directional light check if Cast Shadows is checked.

And, another question, can I make skybox visible, and to have fog in same time.

Yes, you can.

Comment
Add comment · Show 4 · 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 GuardiaN95 · Dec 18, 2014 at 07:54 AM 0
Share

I made it visible, but, I would like fog to go over the lower parts of skybox, while upper ones are clear, which is probably imposible, so I will you renderer opacity while "spawning" buildings, to make them not just fly in the scene...

avatar image HarshadK · Dec 18, 2014 at 08:03 AM 0
Share

Or you can bring in the buildings slowly to create make a visible effect of world being generated as user moves forward like they have done inside the Animus in Assasins Creed-III. This could also be nice effect, if you want.

avatar image GuardiaN95 · Dec 18, 2014 at 08:42 AM 0
Share

It will be nice :) But, how do I make it? Is there any way to achieve this besides of changing opacity of object?

avatar image HarshadK · Dec 18, 2014 at 08:48 AM 0
Share

You can use a coroutine to Lerp the position of your objects from their starting point to their destination point in the track of the user.

avatar image
0

Answer by Markus__T · Jul 10, 2015 at 12:31 PM

I was having this problem too and then discovered that it was a limitation of the device I was using. On an Asus Nexus 7, shadows wouldn't appear no matter what I did in the Quality Settings. I switched to a Lenovo Yoga 2 tablet and shadows appeared just fine, even when quality was set to Good.

Comment
Add comment · 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

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Can i edit existing games not made in unity? 1 Answer

Making A 2d game android 2 Answers

How to spawn a player in multiplayer on Android with Photon? 1 Answer

how to design a "remove ads" option in android unity game? 1 Answer

Android Ads Error 2 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