Kiwi Foliage Renderer Docs
View all packages

Features

Impostors

Bake camera-facing impostors for the far levels of detail of any prefab.

Kiwi Foliage Renderer 26.12.0Unity 6000.0+URP · HDRP · Built-in

The Foliage Showcase island coloured by level of detail, with impostors in the distance

An impostor replaces a prefab's far levels of detail with one camera-facing card. The baker renders the prefab's first level of detail from every side of the upper hemisphere into two atlases: albedo with coverage, and normals with depth. At runtime the card blends the three baked views nearest the viewing direction, shifts them by their baked depth so they line up, and lights the result with the pipeline's own lights and shadows.

Baking

  • From the renderer: Prototypes tab > expand a prefab > Bake Impostor. The impostor is saved in Assets/Kiwi Foliage/Impostors and assigned to that prefab's settings. ••• > Bake Missing Impostors bakes every prefab with an LOD Group that has none.
  • As an asset: Assets > Create > Kiwi Foliage > Impostor, assign the Source Prefab and press Bake.

The baker reads each material's main texture, colour, cutout and normal map, so it works for any shader. Presets name the right textures for common vegetation shaders.

Frames sets views per side (12 makes 144 views) and Frame Resolution the pixels per view. Each view is rendered at up to four times its resolution and filtered down, so thin branches keep partial coverage instead of breaking into gaps. The card is sized to the prefab's farthest vertex rather than the corner of its bounds, which leaves more texels for the crown. Two 3072 px atlases (12 frames of 256 px) take about 12 MB compressed. The impostor inspector shows when the prefab changed since the last bake.

Where the impostor starts

Each prefab's settings have Impostor Screen Size. Mesh levels whose range ends below that screen size are replaced by the impostor, and the last kept mesh level cross-fades into it. Min Screen Size and Max Distance still end it.

Shadows

Impostors cast shadows when Cast Shadows is on in the impostor. Shadow cards face the light and are pushed behind the crown slightly, so they do not self-shadow the visible card.

Still stuck?

Bring the renderer state with you.

Include the Kiwi Foliage version, Unity and render-pipeline versions, the graphics API, the Foliage Renderer's header state and statistics, the Shader Setup row for any shader involved, and a minimal scene.

Email supportJoin Discord

Kiwi Foliage Renderer 26.12.0

Search documentation