# Crowd Materials (MML)

MML avatars use the GLB format for their meshes. GLB materials use a physically based rendering setup, and are translated into one of three Unreal materials that are used in Crowd Rendering based on how they are configured:

* **Opaque** - for basic opaque materials
* **Masked** - for alpha-masked materials that are rendering in the opaque pass, but mask out pixels
* **Translucent** - for any non-opaque material

These three materials are the only ones used by Crowd Rendering, but with different parameters (textures, base colour, roughness etc).

The materials are exposed in the settings in **Project Settings** → **M2 Carnival**, so you can replace them with your own materials if required:

<figure><img src="/files/KrCu1NRjIVFLCID3baND" alt=""><figcaption></figcaption></figure>

Changes to these settings are stored in `DefaultGame.ini`. At the moment it's not possible to pass in any custom per-character data to the material - all material parameters come from the GLB model file.

{% hint style="info" %}
Known issue: If you specify your own materials they may not be automatically cooked, so may not work in a packaged deployment. As a workaround you can add a reference to your materials on any object anywhere in your map to ensure they are referenced and cooked.
{% 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.otherside.xyz/platform-documentation/creation/unreal-development/features-and-tutorials/the-animated-crowd/crowd-materials.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.
