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 /
avatar image
0
Question by scardoo · Nov 10, 2016 at 02:38 PM · lightingshadows

Lighting/Shadows: my cube did not cast nor receive any shadows

I'm struggling with shadows in unity for some time, and tried everything I could find, but still my cube(used as floor in this case) didn't seem to receive shadows. Neither in scene view nor game view. I can't figure out what is the problem alt text

question.png (193.0 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Oliver-Bogdan · Nov 10, 2016 at 05:09 PM

Select the objects that you want to cast and/or receive shadows and make sure cast shadows and receive shadows are selected in the MeshRenderer components.

Also check the Shadows Settings in the Quality panel. [ Edit> Project Settings > Quality ].
Make sure Shadows is not set to Disable Shadows and that the Shadow Distance has a reasonable value (try to increase it).

alt text


screen-shot-2016-11-10-at-185911.png (19.7 kB)
screen-shot-2016-11-10-at-190019.png (16.9 kB)
Comment
Add comment · Show 6 · 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 Oliver-Bogdan · Nov 10, 2016 at 05:11 PM 0
Share

$$anonymous$$ake sure you are setting the Quality Level that you are actually using. It helps to remove all quality levels and only keep one while testing.

avatar image scardoo Oliver-Bogdan · Nov 10, 2016 at 05:51 PM 0
Share

Tried this. Still not working.

avatar image tanoshimi scardoo · Nov 10, 2016 at 07:01 PM 0
Share

And change the baking to realtime rather than mixed.

Show more comments
avatar image Oliver-Bogdan · Nov 11, 2016 at 11:26 AM 0
Share

Can you put the project online and share it so we can get a look?

avatar image scardoo Oliver-Bogdan · Nov 11, 2016 at 01:42 PM 0
Share

Here , I put the project into an archive, take a look. https://drive.google.com/open?id=0B2eF3YXmA9z3VDNyT19fRncyRUU

avatar image
0

Answer by IceEnry__lol · Nov 11, 2016 at 06:23 PM

in the mesh render (of the cube used as floor) is receive shadows ON? (I know It's a stupid answer but sometimes it's that)

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 scardoo · Nov 12, 2016 at 04:23 PM 0
Share

Yes, 'Receive shadows' is on, same is 'Cast shadows' in the cube above floor.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Strange Box Shadow Emitted by Point Light 0 Answers

Shadows produced by non-static objects are lighter than baked shadows 2 Answers

Scene lights flickering 0 Answers

Custom shader has no shadow 0 Answers

How to hide a sprite when they are in shadow using Unity 2D Light System? 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