Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 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
2
Question by WillModelForFood · Jan 05, 2013 at 08:33 AM · terrainbugshadow

Terrain flickering, really annoying please help

When I have the terrain option: cast shadows enabled, I have really bad flickering happening. I'm using a directional light, tried messing with every single setting in the light properties, shadows, rendering quality, terrain properties, nothing seems to fix it. Using the standard grass texture painting and 1 duplicated scaled up tree.

vid- Youtube

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 WillModelForFood · Jan 05, 2013 at 08:56 AM 0
Share

Well it seems like it's not even the trees causing the issue, I only have terrain with some grass now look at this video of in the scene view- http://www.youtube.com/watch?v=VRhDr4Flo9k

avatar image WillModelForFood · Jan 05, 2013 at 08:57 AM 0
Share

terrain is 10,000 x 10,000

6 Replies

· Add your reply
  • Sort: 
avatar image
6

Answer by Geoxion · Mar 07, 2016 at 03:35 PM

This might be a camera problem. Try increasing the near clipping plane. That often helps this kind of problems.

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 MiguetSchwabBAH · Mar 03, 2017 at 07:04 PM 0
Share

This fixed my issue, default near clipping plane is set to 0.1 in our editor, I had to bump this up to 0.7 to completely remove the flickering. At 0.5 it was "better" but could still be seen on the tops of buildings and certain terrain tiles when player is flying around.

avatar image
1

Answer by norse950 · Mar 07, 2016 at 11:17 AM

This might come in very late, but I think it's still useful. The ONLY permanent fix for this, as far as I can tell, is reducing the terrain size. The memory and computational resources involved in rendering large terrains causes errors, simply because the hardware is pushed over its limit.

By trial and error I found that the maximum size for each individual terrain I can work with is 3000 x 3000, anything larger causes the shadow flickering issue.

So if your world is say, 9000 x 9000, use 9 terrain tiles, each 3000 x 3000, and stitch them together. Flickering gone.

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 meeruTheCoder · Jul 25, 2018 at 06:56 PM 0
Share

$$anonymous$$y terrain is only 600 x 500...

avatar image
1

Answer by sk8tyger · Sep 06, 2019 at 02:58 AM

Hey, this can also be the camera I found out. If your rendering is set to deferred change it back to 'Graphics Setting'

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
0

Answer by Imankit · Jan 05, 2013 at 09:42 AM

I think it may be a shader problem...

Comment
Add comment · Show 2 · 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 WillModelForFood · Jan 05, 2013 at 09:48 AM 0
Share

Shader? Well I made a completely new scene, created a terrain, added a texture, added a directional light, added one default grass & tree , put on deferred render and still get the problem. I didn't use any special shaders or choose any shaders

avatar image Suhrahj · Mar 03, 2017 at 07:58 AM 0
Share

how is this an "answer"?

avatar image
0

Answer by kenncann · Jan 28, 2021 at 07:04 AM

This is many years late but I was having this issue and and the comment that mentioned terrain size made me realize what the problem is. With big terrain sizes you start to run into floating point issues. See this video for an example of the issues this causes and how to fix it with the floating origin technique: https://www.youtube.com/watch?v=qIxifMcvYTs

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
  • ›

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

15 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

Related Questions

Lights attached to objects turning off over terrain 2 Answers

Unity 5 Light Bake - White Splotches 1 Answer

Terrain brushes cannot be set - BUG 1 Answer

I need help creating a map i'm getting a dark shadow on it 1 Answer

Make a simple tree 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