Skip to content
Skills Library
Design & UX · Review & audit

texture-set-intake

/texture-set-intake

Intake check for a PBR texture set before it goes into an engine or renderer. Use when someone hands you a folder of maps (AI-generated, scanned, bought, downloaded, or baked) and wants it working in glTF/three.js, Unreal, Unity URP/HDRP, Godot or Blender. Identifies each map's role, measures normal-map convention (OpenGL vs DirectX) against the height map, tiling seams, base color value range, metallic binariness, flat roughness, roughness vs smoothness, size and bit depth, then converts to the target's packing (ORM, URP metallic-smoothness, HDRP mask map) with a manifest of color spaces and

Licence
MIT
Last repository change
03.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
8
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: examples/make_sample_set.py, scripts/texintake.py

What it does and when to use it

Intake check for a PBR texture set before it goes into an engine or renderer. Use when someone hands you a folder of maps (AI-generated, scanned, bought, downloaded, or baked) and wants it working in glTF/three.js, Unreal, Unity URP/HDRP, Godot or Blender. Identifies each map's role, measures normal-map convention (OpenGL vs DirectX) against the height map, tiling seams, base color value range, metallic binariness, flat roughness, roughness vs smoothness, size and bit depth, then converts to the target's packing (ORM, URP metallic-smoothness, HDRP mask map) with a manifest of color spaces and

Original author description

Intake check for a PBR texture set before it goes into an engine or renderer. Use when someone hands you a folder of maps (AI-generated, scanned, bought, downloaded, or baked) and wants it working in glTF/three.js, Unreal, Unity URP/HDRP, Godot or Blender. Identifies each map's role, measures normal-map convention (OpenGL vs DirectX) against the height map, tiling seams, base color value range, metallic binariness, flat roughness, roughness vs smoothness, size and bit depth, then converts to the target's packing (ORM, URP metallic-smoothness, HDRP mask map) with a manifest of color spaces and

How it works

  1. When to use
  2. The four levels
  3. Step by step
  4. Examples
  5. Tips
Original SKILL.md headings · 148 lines, 1,664 words
SKILL.md preview
---
name: texture-set-intake
description: Intake check for a PBR texture set before it goes into an engine or renderer. Use when someone hands you a folder of maps (AI-generated, scanned, bought, downloaded, or baked) and wants it working in glTF/three.js, Unreal, Unity URP/HDRP, Godot or Blender. Identifies each map's role, measures normal-map convention (OpenGL vs DirectX) against the height map, tiling seams, base color value range, metallic binariness, flat roughness, roughness vs smoothness, size and bit depth, then converts to the target's packing (ORM, URP metallic-smoothness, HDRP mask map) with a manifest of color spaces and importer settings.
---

# Texture Set Intake

A texture set that "looks fine as thumbnails" fails in the engine in predictable ways: bumps lit from the wrong side because the normal map is DirectX and the engine wants OpenGL, a glossy material that should be rough because a smoothness map was plugged into roughness, a visible cross at every tile repeat, a metal that looks like plastic because its base color is dark, or an ORM texture marked sRGB. None of these show in a file browser. All of them can be measured.

This skill is the customs desk between "here is a folder of maps" and "this material is in the scene". It answers three questions with evidence:

1. **What is each file?** (role, size, bit depth, channels)
2. **Is it physically and technically sane for the target?** (measured, not eyeballed)
3. **What exactly has to change, and did it change?** (conversions written to a new folder, never over the source, with a manifest)

The helper `scripts/texintake.py` does the measuring and converting with the Python standard library alone (PNG in and out; other formats through Pillow if installed). Your job is to run it, read it honestly, put eyes on what it cannot decide, and hand over a set someone can import without guessing.

## When to use

- A user drops a texture set and names an engine: "make these work in Unreal", "set this up for three.js".
- AI-generated or upscaled textures that must become a real PBR material.
- A downloaded or purchased set whose naming does not say OpenGL or DirectX.
- Moving a material between engines (Unity HDRP mask map -> glTF ORM, Blender -> Unreal).
- Bumps look inverted, the surface is too shiny or too dull, or tiling shows a seam, and you need to know why.
- Before committing textures to a game repo, as a gate.

Not for: painting or generating the textures themselves, UV unwrapping, or shader authoring. Those happen before or after intake.

## The four levels

Every finding has one level. Keep them separate; do not soften a BLOCK into a CHECK.

| Level | Meaning | What you do |
|---|---|---|
| BLOCK | Cannot be shipped as is: no base color, unreadable file, a "normal map" that is grayscale, sizes that cannot be channel-packed | Stop. Report. Ask for the missing or correct file. |
| CHECK | Measured something suspicious that may be intended | Put eyes on it (tile proof, raking light, reference photo) and record the decision |
| CONVERT | A mechanical change the target needs | Let `convert` do it; it is recorded in the manifest |
| NOTE | Worth knowing, not wrong | Mention it in the handover |

Set verdicts: `READY`, `READY_AFTER_CONVERT`, `NEEDS_EYES`, `BLOCKED`.

## Step by step

### 1. Fill the target card

Before touching files, write down (ask if unknown, otherwise state your assumption):

- **Target**: one of `gltf`, `unreal`, `unity-urp`, `unity-hdrp`, `godot`, `blender` (`python3 scripts/texintake.py targets`).
- **Use**: tiling material (floor, wall, terrain) or UV-unwrapped asset (a specific prop). Seams only matter for tiling materials.
- **Budget**: max texture size for the platform (mobile 1024, desktop 2048, hero 4096 are common starting points).
- **Origin**: generated, photo-scanned, bought, procedural bake. Generated sets carry specific risks (see tips).

### 2. Roster the folder

```bash
python3 scripts/texintake.py scan path/to/set --target unreal
```

The scan names a role for every file from its name (`_basecolor`, `_diff`, `_nor_gl`, `_rough`, `_gloss`, `_metalness`, `_ao`, `_disp`, `_ORM`, `_MaskMap`, `_emissive`, `_opacity` and common variants). An `UNKNOWN_ROLE` file should be renamed, not guessed at silently. `DUPLICATE_ROLE` means two files claim the same job: pick one and say why.

### 3. Read the measurements

Read every finding. The main ones:

- **Normal convention**: if a height map is present, the normal map's red and green channels are correlated with the height map's slopes. Green following "up" in the image is OpenGL; green following "down" is DirectX. This measurement beats the file name; `CONVENTION_CONFLICT` means they disagree. `HEIGHT_INVERTED` means the height is probably black = high.
- **Normal validity**: decoded vectors should have length ~1, point out of the surface (blue >= 128), average lilac. Failures mean sRGB conversion, resizing with the wrong filter, a world-space or object-space map, or not a normal map at all.
- **Seams**: the wrap-around step (last column -> first column, last row -> first row) compared with the steps beside the edges. About 1 tiles; above 2 shows a seam on repeat.
- **Base color range**: non-metal pixels (using the metallic map if present) mostly inside sRGB 30-240; metal pixels 180-255. Outside means baked lighting, crushed shadows, or a lit photo used as albedo.
- **Metallic**: should be a mask (0 or 1); more than 5% grey pixels outside transitions is suspicious. An all-black metallic map is wasted memory.
- **Roughness/smoothness**: nearly constant means use a scalar or add breakup. A smoothness map going to a roughness target (or the reverse) is inverted.
- **Sizes and depth**: power-of-two, within budget, equal sizes for packing, 16-bit height preserved.

Use `--json` when you want to quote numbers. Use `--strict` in CI so `NEEDS_EYES` fails the job.

### 4. Put eyes on every CHECK

Measurements narrow the question; eyes close it.

- Seam: `python3 scripts/texintake.py tile map.png --out proof.png` writes a 2x2 repeat. A cross in the middle is the seam.
- Convention: render or preview a sphere under one low raking light. Bumps must catch light on the side facing the light.
- Range: compare base color against a reference (a photo with a gray card, or known values: fresh snow ~240, charcoal ~30, raw iron ~ 196).
- Record the decision for each CHECK: "fixed", "accepted because ...", or "sent back".

### 5. Convert into a new folder

```bash
python3 scripts/texintake.py convert path/to/set --target unity-hdrp --out path/to/set_hdrp
```

Options: `--normal-from opengl|directx` when no height map exists and you verified the convention yourself; `--default-roughness 0.6` when no roughness/smoothness source exists; `--default-metallic 0` (the default) for dielectric sets.

What it writes depends on the target:

| Target | Normal | Packed output |
|---|---|---|
| gltf | OpenGL | `_orm.png` R=AO G=roughness B=metallic |
| unreal | DirectX | `_orm.png` R=AO G=roughness B=metallic |
| unity-urp | OpenGL | `_metallic_smoothness.png` RGB=metallic A=smoothness, `_occlusion.png` |
| unity-hdrp | OpenGL | `_mask.png` R=metallic G=AO B=detail mask (white) A=smoothness |
| godot | OpenGL | `_orm.png` R=AO G=roughness B=metallic |
| blender | OpenGL | separate `_roughness`, `_metallic`, `_ao` |

Already-packed sources (ORM, HDRP mask map) are unpacked first, so moving between engines works. Height, emissive and opacity are byte-copied so a 16-bit height stays 16-bit. Nothing in the source folder is modified. A BLOCK stops conversion before anything is written.

### 6. Re-check the output

Re-scan the output folder for ORM targets (`gltf`, `unreal`, `godot`) and Blender. Expect `READY` or only the CHECK items you already decided. Open the 2x2 proof of the converted base color and normal.

### 7. Hand over

Give the user:

- the verdict before conversion and the output folder,
- `intake.json` (each output file with role, color space, actions, and source),
- importer settings for the target (printed by `scan`, stored in the manifest),
- every CHECK and how it was decided,
- one sentence on what was **not** verified (e.g. "not viewed in engine", "convention taken from file name only").

## Examples

### Example 1: AI-generated stone floor for Unreal

Folder: `floor_basecolor.png`, `floor_normal.png`, `floor_height.png`, `floor_roughness.png`, 2048 px each.

Scan for `unreal`:
- `floor_normal.png`: `FLIP_GREEN` (slopes vs height say OpenGL; Unreal wants DirectX).
- `floor_basecolor.png`: `ALBEDO_TOO_DARK` 6.4% of pixels below sRGB 30, and `AO_IN_ALBEDO` r=0.71. The generator painted shadows into the color.
- `floor_height.png`: `HEIGHT_8BIT` note.

Decision: lift the darkest values and reduce baked occlusion in an image editor (or regenerate with "flat even lighting, no shadows"), then re-scan until the range CHECK is gone. Convert writes `floor_normal_dx.png` and `floor_orm.png`; no AO map was supplied, so the R channel is constant white. Handover notes the AO fallback and asks whether a real AO bake exists.

### Example 2: Unity HDRP material to a three.js scene

Folder: `crate_BaseColor.png`, `crate_MaskMap.png`, `crate_Normal.png`.

Scan for `gltf`: `REPACK` on the mask map (CONVERT), `CONVENTION_UNKNOWN` on the normal (CHECK, no height map, no GL/DX in the name). Unity uses OpenGL normals, so after a raking-light check the conversion is run with `--normal-from opengl`. Output: `crate_orm.png` with roughness = 1 - smoothness from the mask alpha, AO from the mask green, metallic from the mask red.

### Example 3: Bought rock set, Blender

Folder has `rock_Glossiness.png` and `rock_nor_dx.png`. Scan for `blender`: `INVERT_SMOOTHNESS`, `FLIP_GREEN`. Convert writes `rock_roughness.png` and `rock_normal_gl.png`. Handover reminds: set every map except base color to Non-Color.

## Tips

- **File names lie, slopes do not.** When a height map exists, trust the measured convention and record the name conflict.
- **Generated textures**: expect baked lighting in the base color, normal maps derived from color (they follow paint, not geometry), "roughness" that is really smoothness, and small tonal drift after AI upscaling that can break tiling. Re-scan after every regeneration or upscale.
- **Color space is part of the deliverable.** Base color and emissive are sRGB; normal, roughness, metallic, AO, height and every packed texture are linear. Most "wrong-looking" imports are an sRGB checkbox.
- **Do not channel-pack mismatched sizes** by stretching. Resample deliberately in an image tool, then re-scan.
- **Keep the source folder pristine.** Conversion writes elsewhere; the manifest names every source file and the sha256 prefix of the scanned inputs in the scan JSON.
- **A seam on an unwrapped prop is not a defect.** Only judge seams for tiling materials.
- **Large sets**: pure-Python PNG decoding of 4K maps takes a while; install Pillow for speed or scan a downsized copy for the measurements, then convert the full-size set.
- Thresholds live in `LIMITS` at the top of the script; change them in one place if your studio uses different value ranges, and say so in the handover.
Files in this package (8)
  • .gitignore 1 KB
  • LICENSE 1 KB
  • README.md 7 KB
  • README.zh-CN.md 7 KB
  • SKILL.md 11 KB
  • SKILL.zh-CN.md 11 KB
  • examples/make_sample_set.py 2 KB
  • scripts/texintake.py 35 KB

Versions

The database has no other skills named texture-set-intake.

Database snapshot: 13.11.2026 · package version ec5ae4240050 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100godot-3d-materials
    Expert patterns for Godot 3D PBR materials using StandardMaterial3D including albedo, metallic/roughness workflows, normal maps, ORM texture packing, transparency modes, and shader conversion. Use when creating realistic 3D surfaces, PBR workflows, or material optimization.…
  • 100godot-3d-materials
    Expert patterns for Godot 3D PBR materials using StandardMaterial3D including albedo, metallic/roughness workflows, normal maps, ORM texture packing, transparency modes, and shader conversion. Use when creating realistic 3D surfaces, PBR workflows, or material optimization.…
  • 90blender-pbr-materials
    Physically based materials in Blender 5.2 - metal/roughness rules, Principled BSDF inputs, color spaces (sRGB vs Non-Color), measured albedo/F0 values, texture-set auto-wiring, ORM channel packing, DirectX vs OpenGL normals, alpha modes, displacement, view transforms (AgX,…
  • 100blender-texture-baking
    Bake texture maps in Blender 5.2 Cycles - high-to-low normal maps with cage/extrusion, AO, curvature, ID, thickness, base color/roughness/metallic from procedurals, ORM packing, OpenGL vs DirectX, margins, GPU baking, fixing skewing/waviness/seams. Use when transferring sculpt…
  • 87godot-hd-material-import
    The HD-PBR import delta for a SOURCED HD texture set in Godot 4.6 Forward+ — layered on the neutral godot-texture-import base (sidecar structure, texture_filter enum, tiling, Make-Unique). This skill sets the HD VALUES and wires a full-PBR StandardMaterial3D / ORMMaterial3D:…
  • 100threejs-pbr-materials
    Use for Three.js PBR materials, metalness, roughness, transmission and texture role debugging; not light placement.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.