# Speed up Malt

By default Malt runs in high quality settings on the viewport. As a result, many low-end PC hardware cannot handle it and become unresponsive. To solve this, there are few settings in the *Properties window > scene tab > Malt Properties* you can lower.&#x20;

Here is our recommendation for low-end hardware.

![The latest updated Malt scene setting, you only need to lower cascade resolution if you use sun lamp](/files/-MWVKDsMbsUwggqhVVkX)

![This is the old outdated Malt scene settings. If you still see this, please update the latest Malt build.](/files/-MQfz_hByNYXlCHIfgF0)

**Download the latest Malt Build:** [**https://github.com/bnpr/Malt/releases**](https://github.com/bnpr/Malt/releases)

### Some remarks about the settings

* **Line Width Max**: lower this, but impact is minimal from default. Higher number (more than 10) will cause huge performance impact.
* **Sample Grid Size Preview**: must not be lowered to zero or one, huge speed improvement. This is like the number of samples in Cycles/EEVEE. note that unlike EEVEE and Cycles, this value is squared. So, for example, 4 means 4x4 samples, 16 in total.
* **Shadow Cascade Distribution Exponent**: must not be lowered too small or the shadow will get blocky, minor impact. This is the equivalent of the Distribution value in EEVEE for Cascaded Shadow Maps. It controls how shadow resolution is distributed along the view distance.
* **Shadow map resolution**: Just like in Eevee, lowering this will improve speed at the cost of quality.
* **Transparency Layers**: Major speed up when lowered. This determines how many transparent objects can overlap, like the Max Transparency bounces in Cycles. It only affects the camera view, transparent shadowmaps always use a single layer since they fall back on dithering.

### Setting ShadowMap resolution to fit your VRAM

Here are the *formulas* for the 3 types of shadow maps available in Malt

| Light type | VRAM impact (less is better) | Remarks                                                            |
| ---------- | ---------------------------- | ------------------------------------------------------------------ |
| Sun lamp   | ⭐⭐⭐⭐⭐⭐⭐⭐                     | <p>High impact: (resolution^2)\*8 </p><p>8 cascading maps</p>      |
| Point lamp | ⭐⭐⭐⭐⭐⭐                       | <p>Medium impact: (resolution^2)\*6</p><p>Cubemap with 6 sides</p> |
| Spot lamp  | ⭐                            | <p>low impact: resolution^2</p><p>Just a single map</p>            |

All 3 types of shadow maps are created when you change to render preview. Even if you only use Point lamp shadow map, the other 2 shadow maps will exist in VRAM. To get the best performance, lower the other 2 to something small, like 64 or 128 resolution.

{% hint style="info" %}
**TIP**: For small scene, use **spot lamp** for the best viewport performance. Don't forget to lower the resolution of the other shadow maps as well.
{% endhint %}

{% hint style="warning" %}
Extra performance tip in [Malt Gotchas](/beer-malt-wiki/malt-gotchas.md#malt-running-super-slow)
{% 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://bnpr.gitbook.io/beer-malt-wiki/tips/speed-up-malt.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.
