> For the complete documentation index, see [llms.txt](https://shift-studios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shift-studios.gitbook.io/docs/new/editor-9.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# Textures

Transform Your Server With Shift Studios — Powerful, Optimized, And Reliable Resources Built To Improve Every Experience.

<figure><img src="https://4062160621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgqh3gjuJzDAWNXTD9sEE%2Fuploads%2F2S2giPwkUphPBgeLRp62%2Fe3ddd935-d937-4fb0-acfc-acecda318741.png?alt=media&amp;token=7502f194-696a-4c12-bb9c-72479843e72b" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Textures

Read Everything Below To Install
{% endstep %}

{% step %}

### Drag & Drop

Drag & Drop The Resource Into Your FiveM Server
{% endstep %}

{% step %}

### Ensure The Resource

Make Sure To Ensure shift-textures In Your Server CFG.
{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

{% code expandable="true" %}

```lua
-- ⚫ ███████╗██╗  ██╗██╗███████╗████████╗    ███████╗████████╗██╗   ██╗██████╗ ██╗ ██████╗ ███████╗ ⚫
-- ⬛ ██╔════╝██║  ██║██║██╔════╝╚══██╔══╝    ██╔════╝╚══██╔══╝██║   ██║██╔══██╗██║██╔═══██╗██╔════╝ ⬛
-- ⚫ ███████╗███████║██║█████╗     ██║       ███████╗   ██║   ██║   ██║██║  ██║██║██║   ██║███████╗ ⚫
-- ⬛ ╚════██║██╔══██║██║██╔══╝     ██║       ╚════██║   ██║   ██║   ██║██║  ██║██║██║   ██║╚════██║ ⬛
-- ⚫ ███████║██║  ██║██║██║        ██║       ███████║   ██║   ╚██████╔╝██████╔╝██║╚██████╔╝███████║ ⚫
-- ⬛ ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝       ╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ⬛

Config = {}

Config.Debug = false

Config.Command = 'fixtex'
Config.Cooldown = 5 -- Seconds after starting a refresh before another can be started.
Config.ActiveRefreshTimeout = 120 -- Server failsafe in seconds if a refresh never reports completion.

Config.UI = {
    Title = 'Texture Refresh',
    Subtitle = 'Choose A Refresh Level To Reload Your Textures',
    SectionLabel = 'Refresh Options',
    ButtonLabel = 'Refresh Textures',
    DefaultOption = 'standard'
}

Config.Behavior = {
    AllowInVehicle = true,
    AllowWhileDead = false,
    FreezeDuringRefresh = false,
    ClearTasksDuringRefresh = true
}

Config.Appearance = {
    Enabled = true,
    -- Change this if your appearance resource uses a different refresh event.
    ReloadEvent = 'illenium-appearance:client:reloadSkin'
}

Config.Notifications = {
    Position = 'center-left',

    Cooldown = {
        Title = 'Texture Refresh',
        Description = 'You Must Wait %s Seconds Before Using This Again',
        Type = 'error'
    },
    Busy = {
        Title = 'Texture Refresh',
        Description = 'A Texture Refresh Is Already In Progress',
        Type = 'error'
    },
    InVehicleBlocked = {
        Title = 'Texture Refresh',
        Description = 'You Cannot Use Texture Refresh While In A Vehicle',
        Type = 'error'
    },
    DeadBlocked = {
        Title = 'Texture Refresh',
        Description = 'You Cannot Use Texture Refresh While Dead',
        Type = 'error'
    },
    Started = {
        Title = 'Texture Refresh',
        Description = 'Refreshing Your Textures. Your Screen Will Fade During The Process',
        Type = 'inform'
    },
    Completed = {
        Title = 'Texture Refresh',
        Description = 'Your Textures Have Refreshed Cleanly',
        Type = 'success'
    }
}

-- Add, remove, rename, or reorder refresh levels here.
-- Duration and FocusInterval are in milliseconds.
-- The UI automatically builds itself from this table.
Config.Options = {
    {
        Value = 'quick',
        Label = 'Quick Refresh',
        Description = 'Fast refresh for small visual or streaming hiccups.',
        Duration = 5000,
        FocusInterval = 1400
    },
    {
        Value = 'light',
        Label = 'Light Refresh',
        Description = 'Best for minor texture pop-in or small visual issues.',
        Duration = 8000,
        FocusInterval = 1200
    },
    {
        Value = 'standard',
        Label = 'Standard Refresh',
        Description = 'Recommended for most texture and streaming issues.',
        Duration = 15000,
        FocusInterval = 1000
    },
    {
        Value = 'deep',
        Label = 'Deep Refresh',
        Description = 'Stronger refresh for persistent missing or blurry textures.',
        Duration = 25000,
        FocusInterval = 850
    },
    {
        Value = 'aggressive',
        Label = 'Aggressive Refresh',
        Description = 'Heavy streaming refresh for severe texture problems.',
        Duration = 40000,
        FocusInterval = 700
    },
    {
        Value = 'maximum',
        Label = 'Maximum Refresh',
        Description = 'Longest refresh for severe or repeated streaming problems.',
        Duration = 55000,
        FocusInterval = 550
    }
}

Config.Streaming = {
    FarCoords = vec3(-3072.0, -3072.0, 2048.0),
    ReturnCollisionTimeout = 15000,
    FadeOut = 1000,
    FadeIn = 1000,
    PostLoadWait = 500
}

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

Ensure Everything Is Working Well & Enjoy !!
{% endstep %}
{% endstepper %}
