- Home /
Grass gets cut off
Hi, I have a terrain related issue.
My problem is that on a open plain hillside for example, I would paint grass on the entire terrain. now when I start the game, in a certain range around me i see the grass, and it is amazing, however, for some reason, the grass is at a limited range and gets cut off at some point, so when I move, other grass appears and the previous disappears. it gives off an ugly feeling, like only a small spot is grass and the rest of the terrain is bald, and i can see it .
so if there is any way to fix it or cover it up, I would love to know! THANKS for listening!
I don't know how to fix this, but it's a LOD problem... Unity can only draw so much "grass" at one time, otherwise the game would slow down. You need to look for a draw distance setting or something. (I don't have access to Unity right now, so I can't tell you exactly how to fix this, sorry).
Answer by equalsequals · Jul 23, 2010 at 06:07 PM
In your Terrain Object Inspector click the little "gear" icon to bring up the settings and increase your Detail Distance (default is 80).
Keep in mind though that the more is on screen at any given time the lower your performance will become.
There are a few tricks to cover up draw distance cut-offs, one of which is implement fog so that it's thick enough at the cut-off point so that it blends nicely.
Anyway - it all really comes down to pretty vs. performance.
Cheers.
==
Yep. That's what I was talking about, I just didn't know where it was in Unity.
Anybody have a reliable link to push the distance out past 250 units [seems like that's the max]?
at least in editor you can set it over 250 with script like (just add [ExecuteInEdit$$anonymous$$ode] http://docs.unity3d.com/ScriptReference/Terrain-detailObjectDistance.html
Your answer
Follow this Question
Related Questions
Is Terrain Glitched???? 0 Answers
Detail mesh pipeline 1 Answer
How to make lag free terrains 1 Answer
Why is my grass really dar? 0 Answers