> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# VaeDecodeTextureTrellis（VaeDecodeTextureTrellis）

<div class="node-meta"><code>VaeDecodeTextureTrellis</code><span>model/latent/trellis</span><span>角色：体素</span></div>

此节点使用 VAE 将 Trellis2 纹理潜变量解码为体素颜色。输入潜变量包含带坐标的稀疏特征样本；节点重建每个体素的颜色，并将结果作为体素网格返回，下游节点（如 PaintMesh）可以使用它来为 3D 网格着色。

## 参数

| 参数                 | 类型               | 默认 / 范围 | 说明                             |
| ------------------ | ---------------- | ------- | ------------------------------ |
| `samples`          | LATENT · 潜空间     | —（连线输入） | LATENT。采样器的输入/输出，需 VAE 解码才能看图。 |
| `vae`              | VAE · 自编码器       | —（连线输入） | 用于将纹理潜变量解码为体素颜色的 Trellis2 VAE。 |
| `shape_subdivides` | SHAPE_SUBDIVIDES | —（连线输入） | —                              |

## 输出

| 输出           | 类型    | 说明    |
| ------------ | ----- | ----- |
| voxel_colors | VOXEL | VOXEL |

## 怎么接

- **上游**：EmptyLatentImage / VAEEncode / KSampler
- **下游**：Mesh 生成 / 贴图烘焙
- **接线**：输出体素数据，接网格生成或贴图烘焙节点，是 3D 生成链的中间表示。

## 使用案例

从 `samples`、`vae`、`shape_subdivides` 开始填就能跑起来。典型接法：`EmptyLatentImage` → 本节点 → `Mesh 生成`。输出类型是 VOXEL，只能接同类型的输入端口，颜色对不上就是接错了。

## 端口与连线示意

![VaeDecodeTextureTrellis 端口与连线示意](/svg/VaeDecodeTextureTrellis.svg)

## 同类节点

[EmptyTrellis2LatentStructure](/nodes/04/EmptyTrellis2LatentStructure.md) · [VaeDecodeShapeTrellis](/nodes/04/VaeDecodeShapeTrellis.md) · [VaeDecodeStructureTrellis2](/nodes/04/VaeDecodeStructureTrellis2.md)
