qmetrics.net

DirectXTex

Direct3D texture I/O and processing library

DirectXTex screenshot

DirectXTex reads and writes DDS and other image formats and performs texture processing for Direct3D resources, including resizing, conversion, mips, and block compression.

Overview

DirectXTex is a shared-source C++ library focused on texture assets for Direct3D pipelines. It provides DDS read and write with legacy format support, plus TGA and HDR readers and writers where WIC does not cover those formats.

Processing capabilities include resizing, format conversion, mipmap generation, BC block compression for runtime textures, and height-map to normal-map conversion. A WIC-based path handles common bitmap formats such as BMP, JPEG, PNG, TIFF, and HD Photo for tool-oriented workflows.

The distribution also ships companion samples and loaders: command-line utilities such as texconv, texassemble, and texdiag; a DDS viewer; lightweight DDS, WIC, and screenshot helpers for Direct3D 9, 11, and 12; and optional auxiliary code for formats like OpenEXR or Xbox tiling. Public API surface is primarily DirectXTex.h and DirectXTex.inl.

The code is intended to build without the legacy DirectX SDK, using current Windows SDKs and modern Visual Studio or clang on Windows, with optional builds via Windows Subsystem for Linux. It is positioned as a replacement for many D3DX texture utilities when maintaining games or tools on Windows.

Key features

  • DDS read and write with DXGI formats
  • TGA and HDR file support
  • WIC-based bitmap load and save
  • Resize, convert, and generate mipmaps
  • BC1–BC7 block compression
  • Height map to normal map
  • Companion texconv command-line tool
  • Direct3D 9/11/12 loader modules

Use cases

  • Game and graphics tool texture pipelines
  • Converting assets for Direct3D runtimes
  • Replacing legacy D3DX texture workflows
  • Runtime DDS loading in DirectX applications

Tags

Similar software

Babylon.js

Browser JavaScript engine for WebGL and WebGPU 3D

Babylon.js is a web 3D engine for building games, configurators, digital twins, and XR experiences in the browser with TypeScript-friendly npm packages.

★ 26.5k⟳ yesterdayApache-2.0
GamingDesktop/CLI app

WaveFunctionCollapse

Procedural bitmap and tilemap generator from one example

WaveFunctionCollapse builds output images that reuse only local pixel patterns found in a sample input. It supports bitmap synthesis and tile-based level layouts for games and art.

★ 25.6k⟳ 8 months agoMIT
GamingDesktop/CLI app

Assimp

C++ library importing many 3D asset file formats

Open Asset Import Library loads more than forty 3D file formats into one shared in-memory scene representation. It also supports a growing set of export formats and mesh post-processing steps.

★ 13.3k⟳ yesterdayBSD-3-Clause · open core
GamingDesktop/CLI app

Noclip.website

Browser-based digital museum of video game levels

Noclip.website lets you explore reconstructed video game maps in a 3D viewer. Reverse-engineered level data from many titles is presented with camera controls and save states.

★ 4.3k⟳ 13 days agoMIT
GamingDesktop/CLI app

Godot HeightMap Plugin

Godot editor plugin for heightmap-based 3D terrain

A Godot 4.6+ terrain plugin written in GDScript with painting, LOD, holes, grass, and coloring. Install into a project as an editor addon; maintenance focuses on fixes rather than new features.

★ 2.3k⟳ 14 days agoMIT
GamingDesktop/CLI app

glTFast

Runtime and editor glTF import and export for Unity

Unity glTFast loads and saves glTF 3D assets in games and in the Editor with a focus on speed and small builds.

★ 1.5k⟳ 2 months agoApache-2.0
GamingDesktop/CLI app