O'Reilly logo

Unity iOS Essentials by Robert Wiebe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Shaders in the game world

On the original version of Unity3D for the iPhone, the only rendering path available was the Vertex-Lit . Now, Unity3D for iOS devices supports two rendering paths:

  1. Vertex-Lit
  2. Forward rendering

The essential difference is that the forward rendering path supports pixel lighting and the Vertex-Lit path calculates lighting in a single pass and only at object vertices.

While it would be faster if we could use only the Vertex-Lit path, the reality is that for a typical game, the forward rendering path is essential because it allow us to create effects that are simply not possible using only Vertex-Lit rendering. However, care must be taken when using the capabilities of forward rendering on mobile platforms as there are performance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required