# Textures/Power of two

## Texture Image Sizing <a href="#texture-image-sizing" id="texture-image-sizing"></a>

If you've already tried modding clothing or props before, you might have been told to make sure your textures follow the 'Power of 2' rule. This is a game design concept that expands beyond just GTA, and it's something that is important for you to understand as you mod because otherwise you can run into issues in-game with how your textures display.

There are plenty of people who have explained this better than I could already, so instead I will recommend for you to read this article: <https://www.katsbits.com/tutorials/textures/make-better-textures-correct-size-and-power-of-two.php>

and I'll leave a quote from the article here:

In short it's a set of simple criteria ensuring 2D image assets conform to regulated sizes and dimensions, which typically manifest as; 1) width/height being divisible by "**8**", and/or 2) width/height that can be doubled-up or divided-down by "**2**". In other words any image that is "**8**", "**16**", "**32**", "**64**", "**128**", "**256**", "**512**", "**1024**", "**2048**" (or higher for more modern games) pixels in one or more width/height direction, is considered ***valid*** and properly ***optimised*** for quick loading into a game and processing into memory.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FFgnlatgZqQxmoI1DkQjf%252Fpowerof2.png%3Falt%3Dmedia%26token%3D3370cfe4-f4d5-4f72-900d-b3d7b2453793&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=3283d522&#x26;sv=1" alt=""><figcaption></figcaption></figure>

In other words, all of your textures should be "power of 2" in both width and height, although the image does NOT have to be a square. So you can have 1024x128 or 512x256 and so on.


---

# 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.gta.clothing/cloth-modding/textures-power-of-two.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.
