Skip to content

Connected Textures (CTM) and OptiFine Explained

Why your glass is not connecting and how to fix it.

4 min read · Updated 2026-11-14

Many PvP packs make glass look like one clean window instead of a grid of frames. This effect is called connected textures, or CTM. Minecraft cannot do it on its own; it needs OptiFine or a mod that understands OptiFine's format.

How connected textures work

A pack with CTM includes extra files in assets/minecraft/optifine/ctm or, in older packs, assets/minecraft/mcpatcher/ctm. For each block there is a folder with:

  • a .properties file that says which block it is for and how pieces connect, and
  • dozens of small tiles (often 47 of them), one for every way the block can touch its neighbors.

How to enable connected textures

  1. Install OptiFine for your Minecraft version. On Fabric, mods such as Continuity can read the same CTM files.
  2. Open Options → Video Settings → Quality.
  3. Set Connected Textures to Fancy.
  4. Make sure the pack with CTM is enabled in Resource Packs.

Glass still not connecting?

  • Another pack is on top. If a pack higher in the list replaces the glass texture but has no CTM, the connection disappears. Move the CTM pack higher.
  • Connected Textures is set to Fast or Off. Fast only connects some blocks. Use Fancy.
  • The CTM files came from a different pack than the glass. CTM tiles are drawn to match one specific glass texture. Mixing them with another pack's glass looks wrong.

CTM in PackMixer

PackMixer keeps every CTM folder together with its block:

  • Clear glass CTM moves with the Blocks category.
  • Stained glass CTM moves with Wool & Colored Blocks.
  • Ore CTM moves with Ores.

So when you pick a pack for a category, its connected textures come along and never get split between two packs. It also understands older packs that use numeric block IDs and folder names with spaces, such as Black Glass.

More guides