Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
2
Question by huynhke · Apr 06, 2015 at 06:50 PM · unity 5lightlightsrealtime

Realtime light is leaking through walls?

Hey so i'm problem with my realtime light in Unity 5. It has shadows and all the objects it is hitting is supposed to cast shadows, but it's leaking through the top of the roof and the right side?

I know that for the new GI system, "bounce intensity" will cause it to leak in the current version of Unity. I have a different light in another room that had the same problem until I set "bounce intensity" to 0, and it stopped leaking. But this one has it at 0 also, but continues to leak. Any ideas?

alt text

alt text

lightleaking.jpg (60.5 kB)
lightleaking2.jpg (61.2 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

5 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Runemark · Apr 03, 2018 at 01:47 PM

alt text Light Leak Solution

Hi! I know it is a bit late but the leaks are present in Unity 2017 too. I found that setting the Normal Bias to, or close to zero in the Directional Light's settings closes the "gaps" which appear on hard edges of the mesh.


leak-solution2.png (497.8 kB)
leak-solution1.png (414.5 kB)
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
1

Answer by TommygunnJND · Dec 07, 2015 at 11:26 AM

Try adding thickness to your walls, I had the same problem and Also had thickness to my walls but they where seperated so the inside wall and outside walls where differnt meshes. After added a simple extruded face to the walls and now no light leakage!! try it out

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 redhummingbird · Jul 01, 2017 at 08:08 PM 0
Share

That worked for me! Thank you!

avatar image
0

Answer by Boris1998 · Jun 21, 2015 at 06:05 PM

The light is leaking through perfectly attached cubes (arranged in Unity Ediotr). I don't see why... Someone posted the solution for directional lights, which also solves shadow "stripes" on strange angles. The trick is to play with Shadow Bias which, sadly, only works on Directional lights in Unity 5 for some reason...

BIG BUMP!

alt text

alt text


leak-interior.png (256.1 kB)
leak-exterior.png (310.0 kB)
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 Alverik · Apr 16, 2018 at 06:36 PM

In the lightening tab, create a new Light Parameters Asset and play with the "Modelling Tolerance" value in the realtime GI section. (It's an option in the progressive light mapper. Not sure when it was added but I'm using Unity 2017.3)

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 ramiz291 · Sep 09, 2021 at 06:30 PM

I do not know if I am answering late. I have experienced this issue in URP. After trying different settings I found the resolution. Try changing: Lighting property > Cast Shadows > Two Sided. Also mark "Stitch Stream" to true.

alt text

After changing the propertiesalt text


unity-shadow-castinng.png (81.0 kB)
unity-shadow-castinng-problem.png (86.3 kB)
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.

Follow this Question

Answers Answers and Comments

25 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

Related Questions

Can't get GI to work in unity 5 2 Answers

Why do Unity 5 is glitched as hell? Please, I need help... 0 Answers

Problem with Shadows unity5 0 Answers

create flashing light effect for ambulance 1 Answer

I have HAD IT with lighting 0 Answers


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