- Home /
Flickering issue when objects touch terrain.
Hey guys, I just wanted to quickly post an issue I ran into to see if anyone else had the same problem. So I'm using the default terrain in unity however when I add objects to the scene I get weird flickering near the base of the objects where they're touching the terrain.
I have attached a quick video showing the issue.
If anyone has run into this before or knows of some things I could try to resolve the issue that would be fantastic! I've tried a lot of things, adjusting my camera settings, adjusting the lighting, changing the settings in the terrain resolution, changing the quality settings.
Thanks!
Chris.
Answer by Owen-Reynolds · Jul 02, 2014 at 04:07 PM
That looks like standard depth-fighting. A well-known issue for all graphics, with a well-known solution.
Lots of places to look up depth-fighting (it isn't a Unity3D thing.)
In your case, move the well up a little bit (I assume you want to see the black base.) If a side view then lets you see underneath, it's the model's fault. The sides should go down enough so they always stick into the ground.
For the box...hmmmm...try moving it down a little. It looks like there's a small flange around the base which is causing the problem.