> For the complete documentation index, see [llms.txt](https://docs.gta.clothing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gta.clothing/how-to-guides/optimize-clothing-models-and-textures.md). Agents can also search and read this documentation through its [MCP server](https://docs.gta.clothing/~gitbook/mcp).

# Optimize Clothing Models and Textures

Decide when model, texture or UV optimization is useful and review the result

Optimization can make a clothing pack lighter, but the smallest file is not always the best clothing. Use DCT's plan to see what would change, apply only the changes you need, then check the result in game. Make a project backup before a large run.

{% hint style="info" %}
Scanning and reviewing plans is available without paying for an optimization. Applying model changes, whole-project texture runs and UV changes requires **Ultimate**; optimizing a selection of textures requires an active license. The primary action shows the tier it needs before writing.
{% endhint %}

## When should you optimize?

Start with a finding or a measured problem. A model with too many triangles, missing distance levels or a visibly large file is a candidate for the [**Model Optimizer**](https://docs.gta.clothing/basics/essential-knowledge/model-optimizer.md). Oversized textures, unsuitable compression or missing mipmaps are candidates for the [**Texture Optimizer**](https://docs.gta.clothing/basics/essential-knowledge/texture-optimizer.md). A texture that is mostly unused space may benefit from a **Wasted UV space** fix instead of simple downscaling.

| What you notice                                            | Where to start                       | What to inspect afterward                         |
| ---------------------------------------------------------- | ------------------------------------ | ------------------------------------------------- |
| Clothing stays expensive even when viewed far away         | Model Optimizer                      | Silhouette and detail at each distance            |
| Large textures or missing mipmaps                          | Texture Optimizer                    | Sharpness, colour, transparency and distant views |
| A small clothing detail occupies a corner of a big texture | Wasted UV space in Texture Optimizer | Seams, all texture variations and matching maps   |

{% hint style="info" %}
A warning is guidance, not proof that every item should be changed. A hero item seen close to the camera may deserve a different choice from a background item. The project settings let you tune thresholds to your server's goals. See [Review and Tune Project Findings](https://docs.gta.clothing/how-to-guides/review-and-tune-project-findings.md).
{% endhint %}

## Work on one item first

1. In the clothing list or Error List, select the item you want to improve. A **Fix** action opens the matching tool with a proposed change when DCT can help.
2. You can also right-click a drawable or texture variation and use **Optimize and repair**. Choose the model, texture or UV action that matches the problem.
3. Pick the answer that matches what you want, such as **Fit the project's triangle budget** in the Model Optimizer or **Fix problems and keep sizes sensible** in the Texture Optimizer. Both open with these plain answers; **Show all options** shows every control. Read the plan before applying. One texture shows its planned size and format directly; for more items, open the list under the summary to check which items are included, the current and planned sizes or polygon counts, and any reason a row was skipped. Exclude an item when you want to keep its original look.
4. Compare the tool's preview and plan, then apply the selected changes. Read the result report and keep its undo option available until you have tested the clothing.
5. Inspect the clothing in DCT and **in game**, close up and at a distance. Move the ped for fitted clothing and check translucent edges and matching texture variations.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-acf72c4c68381f8539b305e7bc63eccc909d21b0%2Fmodel-optimizer-poster.webp?alt=media" alt="The Model Optimizer for the whole project with Make the models clearly lighter chosen: What will happen reads 10 files changing, about 122,574 -> 68,146 triangles (-44 %), and Review the models lists each of the 10 models with its High, Medium and Low triangles, generated levels of detail for the hat and the earrings, and its size."><figcaption><p>The Model Optimizer for a whole project with Make the models clearly lighter: the plan lists every model with its triangles per level of detail.</p></figcaption></figure>

### Models and distance levels

The **Model Optimizer** can reduce polygons and generate missing LODs. A LOD is a simpler version the game can use at a distance. Review the proposed silhouette, straps, hems and small accessories in the tool's 3D comparison; **Before and after side by side** shows the original next to the result. After applying, watch for a visible jump when you move away from the ped. Clothing whose shape changes too much needs gentler settings or manual model work.

### Textures and UV space

The **Texture Optimizer** reviews dimensions, compression, mipmaps and embedded textures. Its plan shows what happens to each variation. Use a smaller resolution only when the visible detail permits it. For hair, lace or other cut-out materials, pay special attention to edges and colour shifts.

If the **Wasted UV space** finding points to a large empty area, open its Fix action. DCT can sometimes crop and adjust the matching model and textures together. Include the complete drawable and its variations; optimizing one selected texture variation alone cannot change the model's UVs. The plan explains when the crop is unavailable, including layouts that need manual work in Blender or Sollumz.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-d915a926c5d6d247c416acb319af9b46a17ed15c%2Ftexture-optimizer-poster.webp?alt=media" alt="The Texture Optimizer for the whole project with Fix problems and keep sizes sensible chosen and all options shown: 7 of 83 textures will be changed; texture data 78.3 MB -> about 71.3 MB (estimate), and Review the textures (83) lists the seven texture variations of Male 9 hat going from uncompressed A8R8G8B8 to BC3 (DXT5)."><figcaption><p>The Texture Optimizer plan for a whole project: the textures the goal changes, before anything is written.</p></figcaption></figure>

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-f5dc0d7a3ffd2e45c20f1d55d6469001a32613bc%2Ftexture-optimizer-plan.png?alt=media" alt="A Texture Optimizer plan for 10 selected drawables with 73 texture files, with all options shown: the five goals including Custom rules, and the graphics-memory filter. The plan reads 7 of 83 textures will be changed; texture data 78.3 MB -> about 71.3 MB (estimate), and Review the textures (83) lists the seven texture variations of Male 9 hat, each ticked, with the current and planned format and the reason."><figcaption><p>A Texture Optimizer plan with all options shown: untick a row to leave it out, and read why each texture changes.</p></figcaption></figure>

## Whole-project runs and recovery

Once a single item looks right, open the relevant optimizer from the **Tools** menu (or press **Ctrl+K** and paste `>Texture Optimizer` or `>Model Optimizer`) to scan the whole project. Review the proposed rows in groups, exclude special clothing and run the included work. Large scans and runs show progress and can be cancelled. Do not assume that one preset suits all clothing.

If the result is worse, use **Undo this run** while its previous files remain available, or restore your backup. Cleaning old project data can remove files required for that undo. See [Model Optimizer](https://docs.gta.clothing/basics/essential-knowledge/model-optimizer.md), [Texture Optimizer](https://docs.gta.clothing/basics/essential-knowledge/texture-optimizer.md) and [Optimizing Clothes](https://docs.gta.clothing/basics/essential-knowledge/optimizing-clothes.md) for individual controls and limits.

## Fit or combine existing clothing (Experimental)

{% hint style="warning" %}
These tools are experimental and require **Ultimate**, an MP Freemode project, a signed-in account and an internet connection for preparation, placement and weight transfer. Previews from your own game still need your game files. Save your project first so DCT can keep a [History](https://docs.gta.clothing/basics/useful-to-know/project-history.md) restore point.
{% endhint %}

Right-click a drawable and open **Edit and organize > Fit and retarget in 3D (Experimental)** (or press **Ctrl+K** and paste `>Fit and retarget`).

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-ffe53b1ffdef84e75401a3b5ec0a97dc46588aa9%2Ffit-and-retarget-3d.png?alt=media" alt="Fit and retarget in 3D (Experimental) in Model Studio on Male 16 top during a fit: the ped stands in the fitting pose, Rotate is chosen in the tool rail with its hint Rotates the whole fitted result around its centre, and the three rotation rings sit on the chest of the black hooded top. The side panel shows Precise transform with the Move, Rotate and Scale fields and Transform selection, then Gender Male and Drawable type Top [jbib]. The top bar says Apply or cancel the fit first."><figcaption><p>Fit and retarget in 3D inside Model Studio: turn, move or scale the fitted cloth by its handles or by exact values before you apply the fit.</p></figcaption></figure>

Adjust the model with the live 3D handles, using **M**, **R** or **S** for Move clothing, Rotate or Scale while the preview has focus. **Local axes** follows the clothing's orientation; switching it off uses the character's fixed directions. **Show textures** switches between the textured model and a plain surface; **Hide the related body part** helps you see the fit. Open **More fitting tools** for automatic placement, point corrections and precise adjustments. **Estimate body placement** replaces your current placement with a starting estimate. For smaller corrections, enable **Correct the fit with points**, pick matching cloth and body points, lock areas that should stay fixed and apply the correction.

The help for the selected tool (Move clothing, Rotate, Scale) is in the column beside the preview, under the explanation of the window, so the tools over the 3D view stay short. **Enter** and **Esc** stay with the 3D view (**Esc** cancels a drag), so use the buttons at the bottom to finish: **Cancel** discards the edit. The note that all texture variations are saved shows only when the clothing has several, beside the variation you preview.

Choose the target gender and slot beside the preview, then select **Review on animated ped**. DCT prepares the current fit and opens it for review. After reviewing it, choose **Save** to replace the selected item. Its texture variations stay in place. Use the item's **History** tab to restore its previous model and target settings.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-b2d63870d2ed137842077797e06ce7d365ebda6c%2Ffit-and-combine-clothing-poster.webp?alt=media" alt="Fit and retarget in 3D: switch a female jacket to Male, adjust it with the handles, review it on the animated ped and save it."><figcaption></figcaption></figure>

{% embed url="<https://gta.clothing/assets/media/v4/fit-and-combine-clothing-mobile.mp4?v=23259e28ef1d>" %}
Fit and retarget in 3D: switch a female jacket to Male, adjust it with the handles, review it on the animated ped and save it.
{% endembed %}

To combine clothes:

1. Select two to four drawables of the same gender, right-click and choose **Edit and organize > Merge clothing models (Experimental)** (or press **Ctrl+K** and paste `>Merge clothing`). Merge is also available in the multiple-selection actions when the selected clothes are compatible.
2. Review the combined result in the same fitting window. When the clothes' textures are packed into one shared texture, the window says how large it will be and how much of the original detail it keeps as soon as it opens.
3. Select **Create merged item**. The originals remain unchanged, and the new item's [note](https://docs.gta.clothing/basics/essential-knowledge/user-interface.md#note-tab) lists the clothes it was made from.

Before you merge, check these limits:

* One shared texture holds at most 16 materials, so clothes with more together are refused; merge fewer models at once.
* If the clothes are too large to edit at once, merge fewer models, use fewer colour variations, or make the textures smaller with the Texture Optimizer first.
* Texture variations pair by their order; a model with one variation repeats that colour beside all variations of the others. Otherwise the models must have equal variation counts.
* The models need the same LOD levels; generate missing levels with Model Optimizer first.

Keep props as props and components as components. Models with companion files, physics, heel settings or custom body presets need to be edited together in a 3D editor. Some skin-bearing or specialized materials cannot be merged safely; DCT explains when source editing is needed. Check clipping, skin, every colour and movement in the preview, then test the built clothing in your game or server.

The same fitting controls appear when you add a 3D model from another format, see [3D model import](https://docs.gta.clothing/basics/useful-to-know/import-and-export-formats.md#id-3d-model-import-experimental).

## Check clipping in poses

{% hint style="info" %}
**Check clipping in poses** requires **Ultimate**, an MP Freemode project, a signed-in account and an internet connection. The check does not need GTA V installed. Treat its results as guidance: the game's own clothing also clips a little in some poses.
{% endhint %}

Clothing that looks right on the standing ped can let the body through when the ped raises its arms, sits down or kneels. Right-click a drawable or one of its texture variations and choose **Optimize and repair > Check clipping in poses** (or press **Ctrl+K** and paste `>Check clipping`). It works on one freemode cloth or prop at a time.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-7bad2537282925052a306e9eeea884b224066640%2Fpose-clipping-window.png?alt=media" alt="Check clipping in poses for Male 16 top after a check. The Poses list on the left is grouped under Moving, Arms and gestures, Weapons and Sitting and driving, with Select all and Clear above it and Check poses below. The summary reads 96 points clip in at least one pose (0.7 % of the checked points), at most 20.5 mm deep, and that the check ran on the bare upper body. The table lists each pose with the areas under its name, the points that clip and the deepest clipping, from Sitting on chair (76 points, 17.3 mm) to Aim rifle (4 points, 13.0 mm). The hooded top is on the right with the colour legend Up to 5 mm, 5 to 10 mm and Deeper than 10 mm below it, and Fix clipping (Experimental) and Close at the bottom."><figcaption><p>A real pose check of a hooded top: the poses that clip most come first, with the areas under each pose.</p></figcaption></figure>

1. Tick the poses you want under **Poses** and choose **Check poses**. DCT moves the body and the cloth through each pose and counts the points where the body comes through only while posed. **Cancel** stops a running check.
2. Read the summary and the table, which lists the poses worst first with **Points that clip** and **Deepest (mm)**, and the areas where the body comes through under each pose's name. The summary gives the share of the checked points, and a line such as **Checked 842 of 910 points of the cloth.** says how much of the cloth the check could look at. A few points are normal, because the game's own clothing also shows a few percent in some poses. Only when a larger part of the cloth clips does DCT say so and ask you to look at the worst poses first; a top checked on the bare upper body needs a larger share for that.
3. Select a pose to see its worst moment on the ped. Marks show where the body comes through at that moment, and the legend under the view names each colour: **Up to 5 mm**, **5 to 10 mm** and **Deeper than 10 mm**.
4. To repair it, choose **Fix clipping (Experimental)**. It moves the cloth outward where the body comes through in the checked poses, by at most 2 cm, and shows the points that clip before and after. **Save fixed cloth** keeps the result, and the item's **History** tab restores the previous model.

The check measures up to 30 mm deep: a pose with deeper points shows **30 or more** under **Deepest (mm)**, and the summary ends with **30 mm deep or more**. When the check could look at no point, the window says **Nothing could be checked: this cloth does not lie on the body, or it already lies inside the body at rest.** That is not a clean result; fit the cloth to the body first.

Areas that would need more than 2 cm are left alone and named; clipping around one joint usually means the bone weights there need repair, so use **Rig to freemode body** for them, see [Rigging and Weight Painting](https://docs.gta.clothing/cloth-modding/rigging-and-weight-painting.md#let-durty-cloth-tool-transfer-the-weights). No point moves further than 2 cm in all, and only the main model changes: a first-person model or hair alternate models stay as they are. The fix is not available for props or for clothing with cloth physics (YLD).

The window belongs to its cloth and its project. It closes when you close the project or open another one, and when its cloth is removed.

The same check is available before clothing is in your project: as **Check poses** in the review of a [3D model import](https://docs.gta.clothing/basics/useful-to-know/import-and-export-formats.md#prepare-review-and-add), and in the [Marvelous Designer plugin](https://docs.gta.clothing/plugins/creator-link/marvelous/check-poses.md), whose page also describes every part of this window.
