Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 MordazaH · Oct 21, 2018 at 02:13 AM · shadowsdirectional light

Glitch in shadows with directional light

Hi all, I have a simple setup, a directional light and some planes on the ground, I have built some roads meshes and puting them over ground makes this kind of glitch in the shadow, I check if there is any not-attached edge or the images have any alpha area on the edges or something but all seem to be correct, just the shadow seem to detect where the road wall is and make that kind of light line there where it ends, Im using Unity 5.6.1. Thanks beforehand for any help =)

glitch shadow

Comment
Add comment · Show 2
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 dan_wipf · Oct 21, 2018 at 08:40 AM 0
Share

does it apear in game view aswell?

avatar image MordazaH dan_wipf · Oct 23, 2018 at 07:39 PM 0
Share

Im sorry I couldnt reply earlier, and I yes it happens in game view too, with the solution suggested by $$anonymous$$emeinaction (set to zero normal map in light) it works fine in all views

1 Reply

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

Answer by Lost_Syndicate · Oct 22, 2018 at 05:56 PM

I believe this is called "Shadow Acne" which is a problem in unity, and possibly not your fault, it basically happens when a mesh does not have inside depth (2d) and the light of the directional light leaks through the mesh. Just turn down Shadow Bias and i believe that should be fixed.

Comment
Add comment · Show 5 · 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 Lost_Syndicate · Oct 22, 2018 at 05:58 PM 0
Share

And for the outline being white ("Fire flies") just go to Editor->Project Settings->Quality and turn off anti anailising

avatar image MordazaH Lost_Syndicate · Oct 23, 2018 at 02:09 AM 0
Share

Yes this worked like you said and th eoutline vanished, thanks a lot =)

avatar image MordazaH · Oct 23, 2018 at 02:07 AM 0
Share

I put "Normal bias" to zero, is that the right path? seems to work right, I tried zeroing "Bias" too but the shadows start to blink and act strange everywhere

avatar image Lost_Syndicate MordazaH · Oct 24, 2018 at 03:12 PM 0
Share

hm turn the normal bias down, but dont put it to zero.

avatar image MordazaH Lost_Syndicate · Oct 25, 2018 at 02:18 PM 0
Share

Its odd, when I put it to zero it goes fine but if I put it to 0.1 it makes strange shadows appear blinking in editor mode, in game mode both values work apparently

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

95 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

Related Questions

Shadows much darker in build than in editor. 3 Answers

Directional Light Shining Through Single Sided Geometry 1 Answer

Jagged Directional Lighting 1 Answer

Directional light shadow not appearing need help asap please 0 Answers

Why isnt Unity 4.6 displaying shadows when i use a directional light 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