> For the complete documentation index, see [llms.txt](https://wiki.redmodding.org/cyberpunk-2077-modding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/the-whole-world-.streamingsector/environment-level-of-detail.md).

# Environment: Level of Detail

## Summary

**Published**: Mar 02, 2024 by [mana vortex](mailto:undefined)\
**Last documented edit**: Mar 02, 2024 by [mana vortex](mailto:undefined)

This page explains how the level of detail is handled in environment files.

### Wait, this is not what I want!

* To learn how components (equipment) casts shadows, check [Meshes, Shadows, and Shadow Meshes](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/3d-objects-.mesh-files/meshes-shadows-and-shadow-meshes.md)

## Auto-hiding

Many world objects are automatically hidden if you move away from them, freeing the engine resources that had been used to render them.

{% hint style="info" %}
Hiding an object will also hide its shadows and occluders.
{% endhint %}

The distance at which this happens is controlled by the `forceAutoHideDistance` property of each world node:

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-307ddcfa4fe6c4f6128144885dfe2451fc3700c1%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

This probably corresponds directly to the `nearAutoHideDistance` in the proxy mesh ndoes below?

## Proxy meshes

There is a specialized node type for world proxy meshes: the `worldGenericProxyMeshNode`. (Which raises the question if there are specialized / extended `worldXXProxyMeshNodes?)`

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-9eb1ec049af058e61fb04877dcfd69d616107cab%2Fstreamingsector_proxyMeshNode.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/the-whole-world-.streamingsector/environment-level-of-detail.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
