microsoft/directxtex/texture-assembler

Claude Code and agent skill by microsoft/directxtex

Trust tier 4
  • vendor
Source check pending

Checking that the SKILL.md file is still in the repository.

Guide for using the texassemble command-line tool to create cubemaps, volume maps, texture arrays, and other assembled DDS textures from individual images. Use this skill when asked about creating cubemaps, volume textures, texture arrays, merging channels, converting animated GIFs to textures, or extracting cubemap faces to cross/strip layouts.

Install

npx vskill@latest install microsoft/directxtex/texture-assembler

SKILL.md

The same SKILL.md was published earlier as microsoft/directxtex/texture-assembler.

Texassemble Texture Assembler

This skill provides guidance for using the texassemble command-line tool to create DDS files containing cubemaps, volume maps, or texture arrays from individual images.

When to Use

Invoke this skill when:

  • Creating cubemaps from six individual face images.
  • Creating volume (3D) textures from multiple slice images.
  • Creating 1D or 2D texture arrays from multiple images.
  • Creating cubemap arrays from multiple sets of face images.
  • Extracting cubemap faces into cross, strip, or tee layout images.
  • Creating cubemaps from cross, strip, or tee layout images.
  • Merging channels from two images into one output.
  • Converting animated GIFs into texture arrays.
  • Creating textures with custom mipmap levels from individual mip images.

Installation

winget (Recommended)
bash
winget install Microsoft.DirectXTex.Texassemble
vcpkg
bash
vcpkg install directxtex[tools]

Syntax

plaintext
texassemble <command> [options] [--file-list <filename>] <file-name(s)>

Input files can be dds, tga, hdr, or any WIC-supported format (bmp, jpg, png, jxr, heif, webp, etc.).

The command-line uses Windows-style - or / for options. It also supports --version, --help, and GNU long-option style parameters with --.

Commands

CommandDescription
cubeCreates a cubemap from six face images (ordered: +X, -X, +Y, -Y, +Z, -Z)
volumeCreates a volume (3D) texture from two or more images (depth = image count)
arrayCreates a 1D or 2D texture array from two or more images (requires FL 10.0+)
cubearrayCreates a cubemap array from a multiple of six images (requires FL 10.1+)
h-crossExtracts cubemap faces into a horizontal cross layout image
v-crossExtracts cubemap faces into a vertical cross layout image
v-cross-fnzSame as v-cross but flips the negative-Z face
h-stripExtracts cubemap faces into a horizontal strip image
v-stripExtracts cubemap faces into a vertical strip image
h-teeExtracts cubemap faces into a horizontal "T" layout image
cube-from-hcCreates a cubemap from a horizontal cross layout image
cube-from-vcCreates a cubemap from a vertical cross layout image
cube-from-vc-fnzCreates a cubemap from a vertical cross layout (flipped -Z) image
cube-from-htCreates a cubemap from a horizontal tee layout image
cube-from-hsCreates a cubemap from a horizontal strip image
cube-from-vsCreates a cubemap from a vertical strip image
array-stripExtracts a 1D/2D array into a horizontal strip image
mergeCreates a texture by merging channels from two input images
gifConverts an animated GIF into a texture array
from-mipsCreates a 2D mipmapped texture from individual mip images
cube-from-mipsCreates a cubemap texture from individual mip images

Common Workflows

Create a cubemap from six face images
plaintext
texassemble cube -w 256 -h 256 -o cubemap.dds posx.jpg negx.jpg posy.jpg negy.jpg posz.jpg negz.jpg
Create a volume (3D) texture
plaintext
texassemble volume -w 256 -h 256 -o volume.dds slice0.png slice1.png slice2.png slice3.png
Create a texture array
plaintext
texassemble array -o array.dds frame0.png frame1.png frame2.png frame3.png
Extract cubemap to horizontal cross layout
plaintext
texassemble h-cross cubemap.dds
Create cubemap from a vertical cross image
plaintext
texassemble cube-from-vc -o cubemap.dds cross_layout.png
Merge channels from two images
plaintext
texassemble merge -o combined.png color.png alpha_source.bmp
Merge with custom swizzle (roughness into alpha)
plaintext
texassemble merge --swizzle rgbR -o packed.png albedo.png roughness.png
Convert animated GIF to texture array
plaintext
texassemble gif -o animation.dds animated.gif
Create mipmapped texture from individual mip images
plaintext
texassemble from-mips -o texture.dds mip0.png mip1.png mip2.png mip3.png

Options Reference

See reference/options.md for the complete options reference.

Quick Reference (most common options)
OptionDescription
-o <file>Output filename (default: DDS based on first input, BMP for cross/strip)
-f <format>Output DXGI format (e.g., R8G8B8A8_UNORM, B8G8R8A8_UNORM)
-w <n> / -h <n>Output width / height in pixels
-if <filter>Image filter (POINT, LINEAR, CUBIC, FANT, BOX, TRIANGLE)
-srgbInput and output are sRGB
-yOverwrite existing output file
-dx10Force DX10 header extension
-fl <level>Target feature level (default: 11.0, max texture size: 16384)
--swizzle <mask>Channel swizzle for merge command
--strip-mipsStrip mipmaps from input textures
-rRecursive wildcard search
-nologoSuppress copyright message

Output Format

By default, texassemble writes DDS files. The output filename is derived from the first input file with a .dds extension. For cross/strip extraction commands, the default output is a .bmp file and you can specify any supported image extension.

Notes

  • The tool does not support mipmap generation or texture compression. Use the texture-converter skill to further process the resulting DDS file.
  • Any texture-compressed input file is decompressed on load.
  • Partial cubemaps are not supported; all six faces must be provided.
  • Cubemap face order is: positive-X, negative-X, positive-Y, negative-Y, positive-Z, negative-Z.
  • Support for OpenEXR (exr) format requires building from source with USE_OPENEXR defined.
  • Additional WIC codecs (HEIF, WEBP) work automatically if installed on the system.
  • Texture arrays require Direct3D feature level 10.0 or better hardware.
  • Cubemap arrays with more than one cubemap require feature level 10.1 or better.

Further Reading

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 17 Aug 2026.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,138
Repository forks
492
7-day trend score
38

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/microsoft/directxtex/texture-assembler/badge)](https://verified-skill.com/skills/microsoft/directxtex/texture-assembler)

Something wrong with this skill or its page? Tell us.