• 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
1
Question by Dridrix · Feb 22, 2017 at 08:28 AM · lightshadow

Some object don't cast shadows ?

Hello everyone !

I'm quite new to Unity and supposed to make a house as realistic-looking as possible for a augmented reality project.

I'm using lightmaps so I can keep performances to a maximum. I have a couple of point/area light and one big directionnal light for the sun outside. However, for some strange reasons, some objects refuses to cast a shadow. Or, they do, but not completely. For example (I desactivated the roof) :

http://img11.hostingpics.net/pics/715621screenunity01.png

(For the light's settings)

http://img11.hostingpics.net/pics/634681screenunity02.png

The chairs cast a shadow inside themselves, but not on the ground. Same goes for the sofa and other stuff. On the other hand, the table and metallic thingy in the kitchen do cast a shadow on the ground. More annoying, the wall doesn't cast a shadow at all.

Moreover, if I put the Directionnal on Realtime it still doesn't cast shadow correctly. It looks like this instead.

http://img11.hostingpics.net/pics/406920screenunity03.png

Maybe because there is already a lightmap.

I have tried a few things already : - Cast shadows is on for everything, both lights and objects. - My settings are on Differed, Linear - Every object is Static - I changed Shadow Distance, but no results

(Side question, when using a texture on the ground, the picture is all difformed, regardless of the tilting setting. But not on the wall or furnitures ?)

Thanks for any tips !

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 Dridrix · Feb 23, 2017 at 08:16 AM

Well, strangely enough, after some restarting, Unity decides to take pity on me and it works.

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
avatar image
0

Answer by Emerald_Eel_Entertainment · Mar 18, 2017 at 05:07 PM

@Dridrix Hello! I found a solution which may solve your problem, within this link: http://answers.unity3d.com/questions/1305978/why-isnt-my-blender-object-casting-shadows.html

Basically you must go to the mesh renderer and make sure it can cast and receive shadows.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to know if something is in the shadow 4 Answers

Hardlight for spotlight 0 Answers

I need my alpha to show only where it is not lit. 1 Answer

no shadow with until texture ?? 2 Answers

Spotlights don't have shadow? 1 Answer


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