• 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
9
Question by sebeisdrache · Mar 04, 2015 at 10:56 PM · unity5shadowsdirectional lightflicker

Unity 5 Directional Light Shadow Flicker

Hello, after I updated my project to Unity 5 all of the shadows starting to flicker. In Unity 4.6 was no flicker with the setup.

Maybe is this a known bug?

Comment
Add comment · Show 8
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 SnotE101 · Mar 08, 2015 at 01:31 AM 1
Share

Any luck? Having the same issue.

avatar image Mutrumbo · Mar 08, 2015 at 03:18 AM 1
Share

$$anonymous$$y $$anonymous$$m is also encountering this situation using a Directional Light.

avatar image polykos · Mar 10, 2015 at 11:24 PM 1
Share

same issue since I've updated Unity to 5.0 :(

avatar image sebeisdrache · Mar 11, 2015 at 12:41 AM 0
Share

It seams to be an Z-Buffer Issue, try a other near clipping distance to the camera.

I hope this will be fixed in the future.

avatar image hypnoticmeteor · Mar 11, 2015 at 01:06 AM 0
Share

Lights flicker when deferred rendering is not selected and DX11 is being used or maybe the opposite.

It used to happen to me sometime back, don't remember exactly but I did something in player settings which had to do with DX and rendering mode.

Show more comments

24 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Deathfate · Sep 14, 2015 at 06:09 PM

What I did is to move the directional Light near the objects and it worked. This doesn't make any sense as directional light is infinite but it did the trick to me. I hope I can save some time to anyone else, this is clearly a bug.

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
2

Answer by Andrew-Garrison · Jun 06, 2015 at 03:44 PM

We're having the same issue. Moving the znear from 0.1 to 1 improves the flickering, but is not an acceptable solution for our project.

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
32

Answer by wjduhe · Jun 05, 2015 at 05:27 PM

Changing the near clipping distance of my cameras from .01 to .1 fixed the flickering for me.

Comment
Add comment · Show 3 · 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 jeremykiel11 · Jan 16, 2016 at 01:49 AM 0
Share

go to 'Edit/Project Settings/Quality' click rendering preset fantastic and change shadow cascade to two not four

avatar image u-i · Mar 03, 2018 at 12:07 AM 0
Share

Works for me!... thx you saved me!

avatar image xsocomx · May 30, 2020 at 05:40 PM 0
Share

Thank you changing clipping planes fixed for me :)

avatar image
1

Answer by PeterB · Mar 18, 2015 at 11:43 PM

Same issue here. Deferred, linear, HDR (and I made sure of it).

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
  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5

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

59 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

Related Questions

Huge unknown shadow in scene [android] 1 Answer

Directional light Shadow either Hard or No shadow on iOS 0 Answers

Unity 5.0 buggy shadows 1 Answer

How do you stop shadows from casting through meshes? 0 Answers

How to use trail renderer with directional light shadows enabled? 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