Skip to content

VAT Render Quality Tiers

How to pick the right VAT shader tier for your target hardware and agent count.

When to read this

  • You have already baked at least one VAT prefab and want to understand the quality vs. cost trade.
  • You are targeting mobile and need to know which tier to use for the crowd.
  • You are building a hero shot or marketing screenshot and want the most detailed look.

Concept

A VAT bake produces a material by default, and that material is assigned one of three render tier shaders. (Untick Create VAT Material in the Output section and the bake writes the VAT asset alone. Prefab output is then blocked, since a VAT prefab needs a linked material.) The tier controls lighting quality, which surface maps are supported, and how much the shader costs per agent. You choose the tier by selecting a Bake Preset in the VAT Baker, and the preset sets the sample rate, normal-bake flag, and the tier shader together.

Switching tiers later means rebaking with a different preset (or re-running the baker in update mode). When you switch to a lower tier, the baker clears surface map keywords the new shader no longer exposes, so none linger on the regenerated material.

Tier comparison

Tier Shader Lighting Surface maps Relative cost Best for
Mobile VAT Animator/Mobile Half-Lambert + SH ambient Base map only (no normal, metallic, occlusion, emission) Lowest 1000+ agents on-device
Standard VAT Animator/Standard Main directional + soft shadows + SH ambient + reflection probes / skybox Normal, metallic/smoothness, occlusion, emission Medium Hundreds of agents on desktop
High VAT Animator/High Standard plus dynamic point/spot lights and additional-light shadows Same as Standard Highest Small counts, hero shots, screenshots

Standard is the default. Mobile has the fewest shader variants and compiles to the shortest forward-lit path: no additional lights, no shadow receives, no PBR surface maps.

How to choose

Use Mobile when the agent is part of the main crowd on a mobile build, or when you are hitting a GPU bottleneck at high agent counts on any platform. The shading is flatter (agents baked without normals are lit against an upward-facing default normal via half-Lambert, giving a uniformly top-lit look) but at crowd distance the difference is invisible.

Use Standard for most desktop projects. It gives full PBR shading (normal map, metallic/smoothness, occlusion, emission) lit by the main directional light with soft shadows, and reflects the skybox and reflection probes so metallic surfaces read as metal. It holds up to a few hundred agents on desktop.

Use High for close-range characters, cinematic hero shots, or screenshots where you want dynamic point and spot lights with their own shadows. High compiles many more shader variants than Standard. It is not meant for the crowd.

High tier on mobile build targets

The baker warns when the active build target is Android or iOS and the selected preset is High. High compiles per-pixel additional lights and many shader variants, which is heavy for an on-device crowd. Use Mobile or Standard for on-device agents and keep High for desktop or marketing captures.

Bake presets

The built-in presets are listed in the Bake Preset dropdown inside the VAT Baker, ordered from lowest to highest quality:

Preset Description
Mobile Cheapest tier for the big crowd. Skips the normal texture, so shading is flatter at distance. That is the right trade for 1000+ characters and on-device builds.
Standard Balanced default. Full surface detail (normal, metallic, occlusion) lit by the main light with soft shadows. Good for hundreds of agents on desktop.
High Showcase tier. Adds dynamic point and spot lights plus their shadows on top of Standard. For hero shots and small counts.

Each preset selects the matching tier shader and sets the sample rate and normal-bake flag to values appropriate for that tier. You can override sample rate and normal-bake in Advanced mode after selecting a preset.

Generated materials have GPU instancing enabled automatically. The VAT shaders need it: every agent's animation state is pushed through a per-instance property block, and instancing is what lets a thousand of those share one material and one draw path.

Camera visibility LOD and normals

Something is drawing it Nothing is drawing it Mobileinterpolation onbaked normal oninterpolation offbaked normal droppedStandardinterpolation onbaked normal oninterpolation offbaked normal keptHighinterpolation onbaked normal oninterpolation offbaked normal kept Only the highlighted cell differs by tier. The per-pixel Normal Map is a material keyword and is never touched by this LOD.
Written as bullets this reads like every row could vary by tier. Only one does, and only for agents nothing is drawing.

When Enable VAT Quality LOD is on in SwarmSettings, each agent's VAT shader quality follows whether the agent is being rendered at all, not its simulation importance tier. An agent in the camera frustum renders at full quality regardless of how far it is from its target. So does an agent outside the frustum that Unity still draws because it casts a visible shadow, since a silhouette on the ground has to deform correctly. Cheap quality is only assigned to agents that no camera and no shadow is drawing.

Anything a camera or a shadow shows renders at full quality whether the setting is on or off. The reduced quality only applies to agents that are not drawn, and an agent nothing draws runs no vertex shader. The setting therefore changes neither the look nor the GPU cost, and you can leave it at its default. GPU cost comes from the render tier you pick (Mobile, Standard or High), which is what the rest of this page covers.

For background, cheap quality disables frame interpolation on all three shaders and snaps them to the dominant walk/run clip instead of blending two clips. Mobile also drops the per-vertex baked normal, while Standard and High keep it. The per-pixel Normal Map texture is not part of this: it follows the _NORMALMAP keyword and the quality LOD never gates it.

Shader name reference

Tier Full shader name
Mobile VAT Animator/Mobile
Standard VAT Animator/Standard
High VAT Animator/High
  • Animation: full VAT bake workflow and baker field reference
  • Performance: mobile optimization priorities and Importance LOD tuning
  • Swarm Settings: Enable VAT Quality LOD and camera-visibility animation settings