- Home /
Objects Disappear When Too Far Away
When I use Unity, when Objects are too far away, they disappear, and slowly start to appear as you get closer. Obviously, this is a problem because I want the player to see a huge Game World. The fog is not on in the render settings, and I don't know if this is a bug, or it's designed to this. If it is, then I would like to know how to turn this function off. This is a really frustrating problem so help would be appreciated. Thanks in advance.
Answer by stopsecret · Aug 17, 2011 at 07:35 PM
Hi, it appears you are encountering Clipping What this basically does is 'clips' of stuff that's too far away from the camera. In the inspector, if you select your main camera, there will be a section underneath field of view called clipping planes, the higher you set the 'Far' value, the farther away an object will be before it's 'clipped' off. I recommend setting the far value to something like 100000. Also, another way to keep your objects from disappearing would be to scale down your entire scene. I hope this helps! :)
Note that having huge far values (and small near values) for the camera results in poor z buffer resolution, which usually creates visual artifacts. In most cases I wouldn't recommend using such high far values, but use two cameras ins$$anonymous$$d (one for near objects and one for far objects).
Well, this is going to be a space sim so I don't know how that would work.
I don't know how it wouldn't work. Being a space sim wouldn't make any difference; if anything that makes it easier.
I meant two things:
It's space sim, so I don't if the method would work (you've made that clear now though)
I don't know how to implement that
Your answer
Follow this Question
Related Questions
Can I use Real Scale Space Objects With Colliders? 1 Answer
Anything Maxim? 1 Answer
Shadows behind walls (fog of war) 1 Answer
hot to make the text wrap and space 1 Answer
Shooting Lasers 3 Answers