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 LudevicoDE · Jun 11, 2016 at 09:52 PM · lightingdirectional lightflickeringshadow bug

Unity 5.35 - Shadows flickering (Directional light)

Hi guys! So i've been working on a game where you basicly just fly around and shoot other planes. I allready made a prototype and now im working on the final game. Well i've started to build together my scene and during some testing i noticed that the shadows projected by the directional light behave really weird. Like mentioned in the title they are flickering. I allready tried everything that came into my mind. Like changing the rendering path. I probably tried changing every option regarding shadows in the quality settings. I wondered if it was a problem with my computer so i opened an old project in which i tried to build a basic day-night cycle. No problems visible there. So imported some of the assets of my plane project and placed them in the scene. Still no problem. Is anyone of you familiar with this problem and knows a solution to this? Thanks in advance!

PS: Just the basic setup of my scene: ->Big ocean (Water basic daytime) ->Island (Terrain) ->Runway for the Plane ->The plane itself with particle systems (engine) and the main camera attached to it ->Directional light (Sun in procedural skybox)

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by HHammerite · Jun 11, 2016 at 10:59 PM

I have this problem, my scene is huge and the further away you get from the centre of the scene (0,0,0) the worst it becomes. Shadows flicker and are inaccurate. Changing the Near clipping planes on the camera seems to fix it although this isn't an option for me.

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 HHammerite · Jun 11, 2016 at 10:55 PM 0
Share

The Unity Devs seem to be looking into what looks like the problem. https://unity3d.com/unity/roadmap in the Alpha section there is a part for Increased shadow precision. This problem appears to be due to floating point inaccuracy?

avatar image
0

Answer by FirmA-Studio · Nov 05, 2016 at 01:08 PM

Hey guys. I'm fighting with flickering as we speak. I have a basic day/night cycle and when it comes to dark everything just goes wild.

What I managed to find out so far is that the problem could be a "z buffer". I know I'm not much of a help but it's something we can start our path to solution :)

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Moving Directional Light Shadow Flickering 4 Answers

I'm having lighting problems 0 Answers

Directional light disabling when player is looking away 1 Answer

(FIXED) How to remove Unity 5 shadow artifacts? 2 Answers

Directional light 2D 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