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
1
Question by nathanvj · Oct 24, 2015 at 06:24 PM · shaderslightning

Some objects are not receiving shadows?

Hi everyone,

I am a noob, so don't expect me to understand difficult answers please. I am building a house but I' m having an issue. In the house I want it to be dark, so I only put one directional light. Some of the items in the house are dark, but some just give light in the darkness.

See the image as example: alt text

What I would like to see is just a bed that is barely visible, because there is no light in the house. Help would be appreciated!

examples.png (305.1 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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Statement · Oct 24, 2015 at 10:34 PM

Check the renderer on the door etc. Check that it is recieving shadows.

If that doesn't work, it's likely a material issue. Look at the matrial(s) for the door and see if they have any emissive properties and drag them down. Emissive means kinda that it emits light, or that it's glow in the dark. If there is no such property, it could be that the shader on the material doesn't support shadows. Try changing shader. Still no luck? Try rebaking lightmaps.

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 Statement · Oct 24, 2015 at 10:37 PM 0
Share

http://docs.unity3d.com/$$anonymous$$anual/ShadowOverview.html
http://docs.unity3d.com/$$anonymous$$anual/LightmappingDirectional.html
http://docs.unity3d.com/$$anonymous$$anual/$$anonymous$$aterials.html
http://docs.unity3d.com/$$anonymous$$anual/Shaders.html

etc.

avatar image nathanvj · Oct 25, 2015 at 12:10 AM 0
Share

Thank you for helping. I already checked for the receive shadows check. They all were checked. Then I went to the material of the door, which looked like this: alt text

I tried changing it to 'Legacy Shaders -> Bumped Diffuse' which had no result. I'm a newbie, so I don't really know what you mean by rebaking lightmaps. I will read the manuals added in the comments soon, that might help me.

Thank you so far.

brah.png (20.4 kB)
avatar image nathanvj nathanvj · Oct 25, 2015 at 12:12 AM 0
Share

Oh and by the way! I read a short manual and I checked the door as 'Static' which made the door a little bit darker, but still not what it should be. Hope this information can help you helping me. ;-)

avatar image Statement · Oct 25, 2015 at 12:26 AM 1
Share

Read the links I gave you about lightmapping, and look around on the manual for more information about lightmapping. I don't know lightmapping by heart.

Another thing that came to $$anonymous$$d is checking if your mesh has any normals. Not sure if that would have a difference (i.e. Unity can generate normals in importer I think). Select the mesh from the project and look at the preview window at the bottom of the inspector. It should say stuff like UV, UV2, Normal if I remember correctly. Compare one mesh that doesn't work, with a mesh that does work.

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

30 People are following this question.

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

Related Questions

Shadows passing through objects, why? 4 Answers

How to highlight only certain edges of hex? 0 Answers

Question about the Sprite mask implemented with the Stencil buffer 1 Answer

3D object scaling causes game to work slow 1 Answer

How to use object as clipping - exclusion mask? 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