• 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
Question by coquinounet · Oct 30, 2013 at 09:59 PM · shadow bughard shadows

Black stripes shadows

Hello, I add a point light with hard shadow and i get black stripes on walls when it's on in low resolution shadow, so i search how remove them or reduce. Thanks.

Image : http://prntscr.com/20ubyw

Comment
WagDan

People who like this

1 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 Fritsl · Feb 22, 2015 at 09:58 PM 0
Share

Bump! What causes this, and how can it be avoided?

avatar image karljj1 · Feb 22, 2015 at 09:59 PM 0
Share

Try adjusting some of the shadow values such as shadow bias also try baking the shadows for static objects.

avatar image Fritsl · Feb 23, 2015 at 09:56 AM 0
Share

Thanks karljj - but I have been over all these tings many times. An many other.

You are right about baked shadows though - the resolution of this usually removes the problem. However, using dual lightmaps they show up again in the game :P

Mipmaps could also be an issue - but I'm using Toon / cell shaders so they do not apply.

Standing is the problem and no answer from Unity.

4 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Cereal_Killa · Feb 01, 2015 at 08:32 AM

I get the same problem when there is a very small angle between the plane and the light. The only solution that I found was to turn off shadow casting for the object.

It's a bit sad that no one from unity has answered this question in over a year. Do they not care about their paying customers?

Comment

People who like this

0 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 Louis-N-D · Feb 23, 2015 at 05:28 PM 0
Share

I've been doing game graphics for over 10 years and have been dealing with this exact issue for all of them and in every engine I have used. As Cereal_Killa said, it's most likely that the surface is too parallel to the incoming light and so it is shadowing itself, but, because of precision errors and shadow map resolution it results in banding. I'm surprised to hear that increasing the shadow bias doesn't solve the problem though. Otherwise, if at all possible, edit your light's angle or your object's angle to avoid the issue.

avatar image

Answer by Fritsl · Feb 24, 2015 at 03:42 AM

Thanks a bunch Louis.

It so happens that I'm lighting the large rounded corner of a building with directional sunlight that needs to be on one side and not the other for narrative reasons..

But I guess I'll have to think of a different architecture or something ;)

Comment

People who like this

0 Show 0 · 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

Answer by Weaver · Jul 15, 2018 at 12:30 AM

If anyone stumbles across this in 2018+ , in your directional light under "shadows" try increasing the resolution. It will get rid of banding on steep angles.

Comment
arrepticius
unity_aVP9tlKqLv3AwA

People who like this

2 Show 0 · 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

Answer by J-F · Jul 16, 2018 at 09:23 AM

Try tweaking the shadow bias value in your light.

Comment
ybaklaci

People who like this

1 Show 0 · 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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

21 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

Related Questions

Why are the shadows glitching 0 Answers

Hard shadows and AA causing white pixel artifacts on ALL meshes 1 Answer

RealTime Shadows with terrain painted trees 1 Answer

Shadow Issues, Light going through walls slightly 3 Answers

Hard Shadows on Unity 4.2 not working on Android 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