Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Jake5150 · Jun 02, 2012 at 08:13 PM · lightingissue

Lighting issue

I am working on a test scene in unity, and I made a building, but the light from the directional light shines into it, the walls of the building do not block the light. Pictures: The selected entity at the top is the directional light. inside: alt text

Is there a way to fix this?

Comment
Add comment · Show 1
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 Jake5150 · Jun 02, 2012 at 05:13 PM 0
Share

Note: the directional light is OUTSIDE of the building.

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by drizztmainsword · Jun 03, 2012 at 03:06 AM

If a light isn't set up to project shadows, other objects aren't going to block the projection of that light. Try enabling shadows on that directional light and see if that makes any difference.

The baked lighting should have solved this issue as well. It's odd that it didn't work.

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 Jake5150 · Jun 03, 2012 at 04:13 AM 0
Share

Do you mean shadow types? Because those are for the pro version. also I managed to get it baked, but it doesn't block the light. It's odd.

avatar image
0

Answer by Pipercubjl · Jun 03, 2012 at 12:00 AM

I would try to bake a lightmap, because the light can shine through currently. Here is how. Also, here is a quickstart explaination of lightmapping. Should be useful.

Comment
Add comment · Show 2 · 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 Jake5150 · Jun 03, 2012 at 01:24 AM 0
Share

I did what it said, and it just doesn't do it. I look at my unity tab on my taskbar, and it shows as slightly green on the left, but stays there. It doesn't move. I tried this a long time ago with something else, but this time it won't even finish. It doesn't even bake.

avatar image Jake5150 · Jun 03, 2012 at 01:29 AM 0
Share

Actually it got halfway, but my computer fan kept going on and off and so I just quit, it didn't seem like it'd go any further.

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

6 People are following this question.

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

Related Questions

A node in a childnode? 1 Answer

Unity3D won't Load 0 Answers

Unity Code Performance Issue 1 Answer

Unity lighting/rendering issues on Android 0 Answers

Can't get dynamic shadows working 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