Unreal Texture Management
Use this Skill to audit and optimize Unreal Engine textures for package size, cooked disk size, runtime memory, streaming stability, and visual quality.
Workflow
- Identify the user's actual symptom: package size, VRAM/runtime memory, streaming hitching, blurry textures, or import/organization hygiene.
- Read
references/texture-management.zh-CN.mdbefore recommending texture changes. - Separate package-size fixes from runtime-only fixes.
r.Streaming.PoolSizecan reduce over-budget streaming pressure, but it does not shrink cooked packages. - Inspect real project settings before changing advice: texture assets,
Config/DefaultEngine.ini,Config/DefaultScalability.ini, platformDeviceProfiles, and packaging cook rules. - Prefer reversible bulk-edit plans: audit top offenders first, then change
MaxTextureSize,LODGroup,LODBias, compression, mip generation, sRGB, channel packing, or source asset resolution. - Rebuild texture streaming data after material/mesh/UV changes, then recook/package before claiming package-size wins.
- Validate in editor and cooked build with texture stats, streaming stats, package size comparison, and visual spot checks.
- For MCP-assisted bulk work, use the scripts in
scripts/. They default to dry-run and require explicit-Applybefore saving texture assets.
路由
- For asset naming, Content folder organization, bulk asset moves, import conventions, or Texture2D asset creation, use
../orion-asset-management/SKILL.md. - For render config placement,
DefaultScalability.ini, video settings, DLSS/TSR interactions, or project rendering policy, use../orion-rendering-framework/SKILL.md. - For exact CVar lookup such as
r.Streaming.*,r.VT.*,sg.TextureQuality, or runtime/startup editability, use../unreal-render-commands/SKILL.md. - For package, cook, staging, IoStore, or Steam build-size validation, use
../orion-packaging/SKILL.md. - For Unreal source confirmation, engine version differences, or property/module ownership, use
../unreal-source-code-navigator/SKILL.md.
Reference
Read references/texture-management.zh-CN.md for the full Chinese workflow, official documentation links, UE 5.8 source evidence, optimization matrix, validation commands, and common failure cases.
Scripts
scripts/mcp-audit-textures.ps1: read-only audit for largeTexture2Dassets under explicitly provided folders.scripts/mcp-cap-max-texture-size.ps1: dry-run or apply a fixedMaxTextureSizecap, such as 4K-or-larger textures capped to 2K.scripts/mcp-half-by-lod-bias.ps1: dry-run or applyLODBias += 1to approximate half-resolution cooked/runtime mips.scripts/mcp-half-by-max-texture-size.ps1: dry-run or applyMaxTextureSize = current long edge / 2.scripts/mcp-set-texture-lod-group.ps1: dry-run or apply aLODGroupassignment so DeviceProfile/TextureLODGroups can manage the group.scripts/mcp-fix-compression-and-srgb.ps1: dry-run or apply heuristic Normal/Mask/Color compression and sRGB fixes.scripts/mcp-enable-virtual-texture-streaming.ps1: dry-run or applyVirtualTextureStreamingfor very large texture candidates.scripts/mcp-plan-lodgroup-config-no-uasset.ps1: read-only group distribution report for no-uasset config strategies.scripts/mcp-plan-source-downscale-reimport.ps1: read-only source-downscale/reimport candidate report.scripts/collect-texture-groups.ps1: read-only Unreal commandlet wrapper that scans Asset Registry texture assets and writes actual TextureGroup usage reports.scripts/collect-texture-group-sources.ps1: read-only report that merges UE enum groups, engine BaseDeviceProfiles groups, project asset groups, and project DefaultDeviceProfiles groups.