---
title: "Flatpack - s&box library"
description: "One card instead of half a million triangles\n\nFlatpack bakes a model into an impostor: a card that shows the model from every angle, lights like it and casts its\nshadow. Up close you see your real model. From the distance where the card looks the same (Flatpack measures it after\nevery bake), the card takes over.\n\nSet it up\n\n1. Add **Flatpack Renderer** to an object with a model, press **Bake Impostor**.\n2. Or open **Editor > Flatpack > Optimize Scene**: it lists every model in your scene, recommends what to bake, and\n applies it to every copy in one undoable step.\n\nWhat it saves\n\n- 2,500 trees (534,024 triangles each): **28.8 ms to 10.0 ms** of GPU time.\n- 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\n walls hide distant props, the saving is small: there the cost is lights and draw calls, not triangles.\n- Very light models (under a few thousand triangles) are cheaper left as models; the optimiser tells you which.\n\nQuality levels\n\nLow, Medium (default), High, Ultra, or Auto, which picks the cheapest level that still looks right at your swap\ndistance. Bakes take a few seconds.\n\nOpen source, MIT: https://github.com/Anakin-Studio/Flatpack"
canonical: "https://sbox.watch/ru/libraries/anakin/flatpack/"
generated_at: "2026-10-26T19:36:37.909Z"
---

# Flatpack

Описание не предоставлено.

- Тип: библиотека
- Идентификатор: anakin.flatpack
- Автор: Anakin Studios
- Канонический URL: https://sbox.watch/ru/libraries/anakin/flatpack/
- Markdown: https://sbox.watch/ru/libraries/anakin/flatpack/index.md
- sbox.game: https://sbox.game/anakin/flatpack/
- Создано: 2026-10-26T19:36:37.909Z

## Статистика

- динамика за 24 ч: +0
- Terry Score: --
- Избранное: 0
- Положительные оценки: 0
- Отрицательные оценки: 0
- Обновлено: 26 окт. 2026 г.
- Создано: 26 окт. 2026 г.
- Размер: 688.0 KB
- Файлы: 26
- Теги: 

## Описание

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): \*\*28.8 ms to 10.0 ms\*\* of GPU time.
- 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



