Rendering Paths
Manual     Reference     Scripting   
Unity Manual > Advanced > Rendering Paths

Rendering Paths

Unity supports different Rendering Paths. You should choose which one you use depending on your game content and target platform / hardware. Different rendering paths have different features and performance characteristics that mostly affect Lights and Shadows.

The rendering Path used by your project is chosen in Player Settings. Additionally, you can override it for each Camera.

If the graphics card can't handle a selected rendering path, Unity will automatically use a lower fidelity one. So on a GPU that can't handle Deferred Lighting, Forward Rendering will be used. If Forward Rendering is not supported, Vertex Lit will be used.

Deferred Lighting

Deferred Lighting is the rendering path with the most lighting and shadow fidelity. It is best used if you have many realtime lights. It requires a certain level of hardware support, is for Unity Pro only and is not supported on Mobile Devices.

For more details see the Deferred Lighting page.

Forward Rendering

Forward is a shader-based rendering path. It supports per-pixel lighting (including normal maps & light Cookies) and realtime shadows from one directional light. In the default settings, a small number of the brightest lights are rendered in per-pixel lighting mode. The rest of the lights are calculated at object vertices.

For more details see the Forward Rendering page.

Vertex Lit

Vertex Lit is the rendering path with the lowest lighting fidelity and no support for realtime shadows. It is best used on old machines or limited mobile platforms.

For more details see the Vertex Lit page.

Rendering Paths Comparison

 Deferred LightingForward RenderingVertex Lit
Features   
Per-pixel lighting (normal maps, light cookies)YesYes-
Realtime shadowsYes1 Directional Light-
Dual LightmapsYes--
Depth&Normals BuffersYesAdditional render passes-
Soft ParticlesYes--
Semitransparent objects-YesYes
Anti-Aliasing-YesYes
Light Culling MasksLimitedYesYes
Lighting FidelityAll per-pixelSome per-pixelAll per-vertex
Performance   
Cost of a per-pixel LightNumber of pixels it illuminatesNumber of pixels * Number of objects it illuminates-
Platform Support   
PC (Windows/Mac)Shader Model 3.0+Shader Model 2.0+Anything
Mobile (iOS/Android)-OpenGL ES 2.0OpenGL ES 2.0 & 1.1
Consoles360, PS3360, PS3-

Page last updated: 2010-09-07