К основному содержанию
скилл CX Codex

layer-textures — скилл для Claude Code: тайловые текстуры без швов

Скилл layer-textures для Claude Code генерирует повторяющиеся текстуры через Layer API с фильтром tileability, убирающим швы. Текстуры создаются для материалов игровых движков, трим-шитов и заливок паттернами.

MIT 4 900 установок ★ 10 обновлён 2026-09-30

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add layerai/skills --skill layer-textures -a claude-code
Открыть на GitHub

Что делает layer-textures

Скилл учит агента запрашивать у Layer модели с поддержкой тайлинга — без этого фильтра левый край текстуры не продолжает правый, и шов виден сразу. Промпт строится так, чтобы не было запечённых теней и выделяющихся деталей: «ровное рассеянное освещение, без направленных теней», «равномерное распределение износа, без доминирующей трещины». Масштаб задаётся через реальные размеры — «примерно восемь камней на два метра», а не просто «булыжник».

Оценка идёт по повтору 3×3: если плитка хорошо смотрится соло, но на сетке образует ритм или мотив, это провал. Если модель возвращает карты нормалей и roughness, скилл берёт их сразу, а не выводит из цвета потом. Для пиксель-арта есть отдельный скилл layer-pixel-art.

Какие задачи решает

  • сгенерировать текстуру камня 2×2 метра без видимых швов для Unreal Engine
  • убрать запечённые тени из тайловой текстуры травы
  • получить PBR-карты (normal, roughness) вместе с цветовой картой за один прогон
  • проверить, что текстура не образует сетку повторяющихся трещин при тайлинге 3×3

Примеры запросов агенту

  • Создай текстуру мха на камнях для пола подземелья, покрытие примерно 2 метра, восемь камней поперёк, без направленного света и без одной большой трещины в центре
  • Сделай тайловую текстуру деревянных досок шириной около 15 см, ровное освещение, равномерное распределение сучков
  • Проверь эту текстуру в повторе 3×3 — есть ли видимый мотив или шов?

Как установить layer-textures

1Через Skills CLI (Vercel)

npx skills add layerai/skills --skill layer-textures -a claude-code

2Вручную: положить файлы

~/.claude/skills/layer-textures/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/layer-textures/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о layer-textures

Как установить layer-textures в Claude Code?

Выполни npx skills add layerai/skills --skill layer-textures -a claude-code, скилл появится в ~/.claude/skills/layer-textures/SKILL.md.

Что делает layer-textures?

Скилл учит агента генерировать тайловые текстуры через Layer API с обязательным фильтром tileability: true, который устраняет швы на стыках. Без этого фильтра левый край текстуры не продолжается в правый, и шов заметен сразу.

Почему layer-textures требует указывать масштаб в промпте?

Без масштаба модель не знает, сколько камней или досок должно быть на плитке — может выйти один огромный валун или тысяча мелких. Скилл советует привязывать к реальным размерам: «доски около 15 см шириной», «травинки примерно 5 см».

Исходный текст

SKILL.md · MIT
---
name: layer-textures
description: "Use when generating a texture with Layer that must repeat without a visible seam: ground, terrain, walls, fabric, foliage, stone, wood, pattern fills, or a tiling material for a game engine. Also when a generated texture shows seams at its edges, an obvious repeating motif across a surface, or baked-in lighting that fights the engine. Keywords: tileable, seamless, tiling, texture, material, pattern, trim sheet, terrain, repeat."
license: MIT
---

# Layer Textures

## Overview

A texture is not an image of a surface. It is an image whose left edge continues into its right edge
and whose top continues into its bottom, so that a plane tiled with it shows no seam. A model will
not do this unless the run asks for it.

The mandatory step is the capability filter: `list_base_models` with
`filter.capabilities: {tileability: true}`. Note the shape: `capabilities` is an object of booleans,
not a list of names. A model without it produces a picture of stone that seams visibly the moment it
repeats, and no editing pass fixes that afterwards. Everything else on this
page is secondary to getting that filter right.

Generation mechanics are in the `layer` skill. If a sibling skill named here is missing from your
available skills, ask the user to install it (`npx skills add layerai/skills --skill <name>`);
unattended, proceed from tool schemas and flag the gap.

## State the scale

Scale is what separates a usable texture from an unusable one, and it is the most commonly omitted
field. Say how much real-world surface the tile covers: "a 2-metre square of cobblestone, roughly
twenty stones across" is a texture. "Cobblestone" could be one boulder or a city square, and the
model will pick.

Anchor it to the feature rather than the tile: "individual planks about 15cm wide", "grass blades
roughly 5cm", "brick courses at standard size". The engine will scale the material, but only if the
density inside the tile is right to begin with.

## Flat light, no hero features

Two prompt clauses do most of the remaining work:

- **Even, diffuse, flat lighting, no directional shadows.** Baked-in shadow is the second-biggest
  defect after seams. A texture lit from the upper left looks wrong everywhere the engine's light is
  not upper left, and it cannot be removed later.
- **Uniform distribution, no focal point, no single distinguishing feature.** Generative models like
  to compose, so they will place one dramatic cracked stone in the middle. Tiled across a floor, that
  crack becomes a grid of identical cracks and is the thing every player notices.

Ask for consistent variation instead: "evenly distributed wear and colour variation across the whole
tile, no single dominant feature."

## Judging the result

Do not judge a texture by looking at the tile. Judge it tiled. Check the four edges continue into
each other, then check a 3x3 repeat for a motif that has become a pattern. A tile that looks
excellent alone and shows an obvious rhythm at 3x3 is a failed tile.

If the seam is right but a feature repeats too visibly, the fix is usually a rerun with stronger
uniformity language rather than an edit, since removing the feature locally reintroduces a seam.

## Material maps

A texture for a lit engine scene usually needs more than colour. Where a model declares PBR or
material outputs, take them in the same run rather than deriving normals from the colour map
afterwards, which produces flat-looking surfaces. `get_base_model` is the authority on what a given
model returns.

Pixel-art tiles carry these rules plus their own: see `layer-pixel-art`.

## Worked example

"A seamless mossy stone floor for our dungeon."

1. `list_base_models` with `filter.use_case: "text_to_image"` and
   `filter.capabilities: {tileability: true, square: true}`. Take the first result. Without
   `tileability` this run is wasted.
2. `get_base_model`, to see whether it exposes a tiling parameter that must also be set, and what
   material outputs it offers.
3. Prompt: "Seamless tileable texture of worn dungeon flagstones with moss in the joints, covering
   roughly 2 metres square with about eight stones across. Even diffuse flat lighting, no directional
   shadows, no cast shadows. Uniform distribution of wear and moss across the whole tile, no focal
   point, no single dominant crack or feature. Top-down orthographic view."
4. Estimate, then execute with `batch_size: 4` so there are options.
5. Judge each candidate at a 3x3 repeat before choosing.

## Common mistakes

- Skipping the `tileability` filter, which no later step can compensate for.
- Omitting scale, so the tile is one enormous stone or a thousand tiny ones.
- Accepting directional lighting baked into the tile.
- A dramatic hero feature that becomes a visible grid when repeated.
- Judging the tile on its own rather than tiled at 3x3.
- Deriving normal maps from the colour map when the model could return them directly.
- Requesting a perspective view of a surface instead of a top-down orthographic one.

© layerai · MIT · layerai/skills

Похожие скиллы

Все скиллы по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →
scenario-textures scenario-labs Скилл scenario-textures генерирует бесшовные текстуры и PBR-карты через Scenario MCP без разрыва краевых стыков. Пригодится при подготовке материалов для 3D-моделей и игровых движков. CX Codex +1 1 100установок threejs-textures calesthio Скилл threejs-textures для Claude Code помогает настраивать текстуры Three.js. Подключается при работе с UV-координатами, картами окружения и оптимизацией текстур. CX Codex +1 1 200установок 3d-high-resolution-textures MengTo Скилл 3d-high-resolution-textures помогает подобрать разрешение и PBR-карты для 3D-материалов, чтобы близкие планы выглядели резко, а GPU-память не улетала в потолок. CX Codex +1 870установок game-engine-resources gmh5225 Скилл game-engine-resources помогает агенту опознать игровой движок и его версию, прежде чем строить карту объектов и выбирать инструменты. CX Codex +1 1установок blockbench-gpt-image-textures jasonjgardner Скилл blockbench-gpt-image-textures генерирует текстурные атласы, скины и тайлы для моделей Blockbench через модели OpenAI GPT Image 2.5 на fal.ai с учётом UV-развёртки. CX Codex +1 294установок blockbench-flipbook-textures jasonjgardner Скилл blockbench-flipbook-textures создаёт анимированные flipbook-текстуры для Blockbench и Minecraft. Переводит сетки кадров в вертикальный PNG с расчётом таймингов. CX Codex +1 281установок

Из того же набора33

Весь набор →
layer-reference-sets Скилл layer-reference-sets для Claude Code помогает обучать стили Layer на своих изображениях и применять их в генерациях. Он подключается к задачам с наборами референсов, LoRA и нестабильным результатом. CX Codex +1 4 900установок layer-video Скилл layer-video для Claude Code и других агентов: генерирует видео через Layer — текст в видео, оживление кадра, продление клипа, камера, звук, липсинк. Исправляет промпты, когда движение выходит не таким. CX Codex +1 4 900установок layer-audio Скилл layer-audio настраивает промпты для генерации звуковых эффектов, музыки и озвучки через платформу Layer. Помогает избежать лишнего эха и каши в аудиодорожках. CX Codex +1 4 900установок layer-video-timeline Скилл layer-video-timeline для Claude Code собирает готовые клипы, картинки и аудио в ролик с порядком, переходами, титрами, логотипом и музыкой. CX Codex +1 4 900установок layer-image Скилл layer-image для text-to-image через Layer: подсказывает, что писать в промпте, как задать пропорции и когда нужна референс-картинка. CX Codex +1 4 900установок layer-workflow-import Скилл layer-workflow-import для Claude Code и Codex. Переносит пайплайны и JSON-графы из других редакторов в воркфлоу Layer Blueprint, пересобирая их через ноды Layer с группировкой шагов по смыслу. CX Codex +1 4 000установок layer-live-ops Скилл layer-live-ops для Claude Code помогает генерировать контент для живых игр. Он настраивает эволюцию предметов, цепочки улучшений, наборы валюты и сезонные рескины. CX Codex +1 1 100установок layer-localization Скилл layer-localization для Claude Code локализует видео и изображения для разных языков. Он включается при подготовке озвучки, субтитров или экранного текста из одного утверждённого мастер-файла. CX Codex +1 1 100установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой