• 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 Kennyist · Feb 16, 2014 at 12:31 AM · lightingrenderingshadow bughard shadows

Shadow Issues, Light going through walls slightly

alt text

I'm having issues with shadows, They don't cast in-till a bit after the mesh in lots of cases, Causing light to shine into other rooms through the walls. I've checked over the model and everything is connected and tried other shadow settings but nothing seems to fix this.

untitled.png (162.1 kB)
Comment
Add comment · Show 3
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 getyour411 · Feb 18, 2014 at 07:41 AM 0
Share

It's not obvious to me what you are trying to show here but it doesn't look like that left corner is touching the floor, although optically that's hard to tell from a screenshot.

avatar image Kennyist · Feb 18, 2014 at 07:47 AM 0
Share

alt textalt text

Ok, another example. The red light on the other side goes through the walls here, even though it is closed and the wall is 12cm thick.

untitled.png (211.5 kB)
untitled2.png (207.7 kB)
avatar image Benproductions1 · Feb 18, 2014 at 10:46 AM 0
Share

What is your lighting setup? Can you give an easy replicatable example of where and when this happens? I've been using Unity for quite some time and have hardly ever had issues with shadows and those are almost always fixed by changing either light or shadow settings.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by DerWoDaSo · Feb 18, 2014 at 10:55 AM

To me it looks like a shadowmap "Bias" issue. Have you tried changing this?

You also might check the shadows distance in your Quality Settings. Try to reduce it a little bit and see if it helps.

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 Kennyist · Feb 18, 2014 at 11:53 AM 0
Share

For some reason, Shadow bias works fine for Spotlights, But for Point lights it does not work at all.

avatar image DerWoDaSo · Feb 18, 2014 at 12:19 PM 0
Share

Yes, seems like shadowmap bias is not supported for point lights. Anyway, shadowmaps for pointlights are quiet expensive.

avatar image
0

Answer by Spy-Shifty · Oct 06, 2016 at 10:49 PM

Its an old thread but maybe someone else has this problem...

Change the light to bake or mixed!

Done

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 $$anonymous$$ · Apr 11, 2018 at 02:49 PM

There is an "shadow type" option when you select the light, change it and you will probably fix the problem

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

23 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

Related Questions

RealTime Shadows with terrain painted trees 1 Answer

Triangular Lighting Issue 0 Answers

Hide 2D light beneath another light's cast shadow 0 Answers

Why does my game suddenly have green particles flashing across the screen? (See linked video of the problem) 0 Answers

GrabPass and Transparent geometry 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges