Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 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
0
Question by rig_concept_design · Apr 01, 2020 at 09:02 AM · lightinghdrshadow bug

HDRP Indoor Shadow Problem / Light Goes Through Geometry

Greetings, dear hive-mind brothers and sisters...! Wait, wrong Unity.

I'll try to be brief and to the point. I've started using HDRP on an arch-like project yesterday. It's my first HDRP project, but I've followed official Unity "upgrading to HDRP" project guideline. This was not a HDRP template project from the start, only a blank one.

Added my geometry, made in 3DS Max, representing a flat (some walls, floors, ceilings, all unwrapped). Next, I've added a Directional Light for my sun. No light leaks there, everything seems to be fine, but the scene was super dark (no GI for real-time lights in HDRP from what I understand). So I've decided to fake the GI, by adding some extra lights indoors, illuminating each room. Well, that didn't work so well, I've got weird light leaks (not even leaks, it goes straight through wall geometry in weird ways) and crazy shadow issues. Can't really understand it, but it seems the "light" that goes through geometry becomes a weird shadow, and the part where there shouldn't be any (top / outside of the light cone) becomes light...? Crazy, I don't know how to explain it well, there's some pics at the end of this post.

Tried rectangular point lights, tried area lights, tried turning random shadow / light options on and off, googling like crazy for a whole day, but couldn't find a solution. Any help or a nudge in the right direction would be hugely appreciated! Thank you for your time!

Using Unity 2020.1.0a3 on Windows 7 x64, running on a GTX 1070.

alt textalt text

shadow-problem-1.jpg (117.0 kB)
shadow-problem-1b.jpg (233.0 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 Namey5 · Apr 01, 2020 at 11:00 AM

Area light shadows are essentially an approximation of an approximation - they use the same shadow matrix as a regular spotlight, but moved back and clipped by the plane. In this case, what you're seeing is light leaking outside of the range of the area light's shadow matrix. You can use a custom spot-shadow angle in the light settings to increase the FOV of shadows, but this will fairly dramatically lower the resolution of the shadows and increase leaking. On top of that, area light shadows use a different type of shadowmap technique called ESVM, which gives a much softer filter and can have worse light leaking. You can adjust the EVSM exponent to reduce this, but it can have other side effects too. Do you really need realtime GI for the building itself? You could simply bake the area lights/ambient lighting for the environment and use light probes for dynamic objects.

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

163 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 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 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 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 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 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 problem with big and small objects 0 Answers

HDRP Turns Materials White 2 Answers

URP shadow problem 0 Answers

My lightning got broken after I changes the shadow strength. 0 Answers

(FIXED) How to remove Unity 5 shadow artifacts? 2 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