# Grass Fallback Renderer

The controls for the grass fallback renderer are created to mimic the behavior of the grass shader. Further visual improvements can be expected in future updates.

## Instancing

Grass fallback can be run purely on the CPU, or use GPU instancing to optimize the renderer. If your hardware supports it, you should probably use instancing.

## Levels of Detail

The fallback renderer runs on the CPU, so we can have more control over LOD than with the shader.

Set the number of levels in the LOD array, then configure the following settings:

* **Density**: The number of billboards per unit.
* **Fade Start**: The distance at which the billboards will start to fade away.
* **Fade End**: The distance where the level of detail will be completely faded away.

{% hint style="info" %}
Unlike the grass shader, where Target Density is still a fairly vague value, the density for the grass fallback represents the number of billboards per Unity unit (meter).
{% endhint %}


---

# 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.stixgames.com/advanced-features/cpu-fallback/grass-fallback-renderer.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.
