- Home /
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:
Is there a way to fix this?
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.
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.
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.
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.
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
Follow this Question
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