- Home /
Can you not render a certain object after a certain distance?
Hi,
The title says it all. I'm sort of looking for camera clipping planes, but to only clip specified objects. this is not terrain objects as that can be set in terrain settings, but for a game object I'm not sure, if it possible how would I go about doing it?
thanks
Answer by flaviusxvii · Jul 06, 2011 at 06:05 PM
Make a script that occasionally (once a second or something) checks the distance to the active camera and disables rendering if it is too far away. Everything you need to do this is readily available.
Answer by Eric5h5 · Jul 06, 2011 at 06:50 PM
Fastest and easiest is to use Camera.layerCullDistances.
Your answer
Follow this Question
Related Questions
Shadow flicker 0 Answers
Adjusting near and far clip of camera for performance? 1 Answer
Is there any way to create a fade effect in order to hide what isn't rendered by the camera? 0 Answers
Different Clipping Distances for Objects and Terrain? 1 Answer
Near Clipping Plane Affecting Rendering Massive Objects 1 Answer