---
title: "Flatpack - s&box library"
description: "Bakes any model into an impostor card. Thousands of props, a fraction of the GPU cost."
canonical: "https://sbox.watch/zh-cn/libraries/anakin/flatpack/"
generated_at: "2026-11-27T12:41:25.263Z"
---

# Flatpack

Bakes any model into an impostor card. Thousands of props, a fraction of the GPU cost.

- 类型: 库
- 标识符: anakin.flatpack
- 创作者: Anakin Studios
- 规范地址: https://sbox.watch/zh-cn/libraries/anakin/flatpack/
- Markdown: https://sbox.watch/zh-cn/libraries/anakin/flatpack/index.md
- sbox.game: https://sbox.game/anakin/flatpack/
- 生成时间: 2026-11-27T12:41:25.263Z

## 统计

- 24小时热度: +0
- Terry 评分: 43%
- 收藏: 1
- 好评: 2
- 差评: 0
- 更新时间: 2026年10月27日
- 创建时间: 2026年10月26日
- 大小: 688.0 KB
- 文件: 26
- 标签: performance

## 描述

One card instead of half a million triangles

Flatpack bakes a model into an impostor: a card that shows the model from every angle, lights like it and casts its
shadow. Up close you see your real model. From the distance where the card looks the same (Flatpack measures it after
every bake), the card takes over.

Set it up

1. Add \*\*Flatpack Renderer\*\* to an object with a model, press \*\*Bake Impostor\*\*.
2. Or open \*\*Editor > Flatpack > Optimize Scene\*\*: it lists every model in your scene, recommends what to bake, and
 applies it to every copy in one undoable step.

What it saves

- 2,500 trees (534,024 triangles each): 15.4 ms to 8.4 ms of GPU time (65 to 119 FPS).
- 2,500 burger cars (96,792 triangles each): 106.5 ms to 9.2 ms (9 to 108 FPS).
- On a real map (an SCP facility with a forest on the surface): 13.1 ms to 9.5 ms on the surface. Indoors, where
 walls hide distant props, the saving is small: there the cost is lights and draw calls, not triangles.
- Very light models (under a few thousand triangles) are cheaper left as models; the optimiser tells you which.

Quality levels

Low, Medium (default), High, Ultra, or Auto, which picks the cheapest level that still looks right at your swap
distance. Bakes take a few seconds.

Open source, MIT: https://github.com/Anakin-Studio/Flatpack
