# Why prompt 'Lights cannot exceed 4096'?

<figure><img src="/files/DVKT3F2PQqV0XtRgqgK6" alt=""><figcaption><p>Number of Lights Limit</p></figcaption></figure>

Currently, the maximum number of artificial and spontaneous lights in a viewport is 4096.&#x20;

If this limit is exceeded, it is recommended to manage the lights in each scene shot using layers or groups, and to hide or remove unnecessary lights for the rendered shots.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.d5render.com/user-guide/common-pop-up-windows/why-prompt-lights-cannot-exceed-4096.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
