Uploaded June 2015 | Updated December 2026, 3 hours ago
Okay, I just figured out something super useful - dynamically swapping shaders for variable mobile performance.
This model has a primary texture map, and vertex AO.
The first example has the shadows on, with the lit portions ignoring vertex AO but using the Matcap, while the shadowed areas use the unity environment color with vertex AO
The second set uses an advanced ambient setup - a second Matcap is used to provide complex shadowed lighting with vertex AO.
The third shader set is the absolute simplest. It has a main texture, and a single Matcap multiplied by the vertex colors. It's incredibly fast, yet still looks pretty good.
The second is the most expensive, yet by far the best looking. It's still not that expensive - I'm getting a solid 60fps with 12 ships on screen on my S6 Edge...
Okay, I just figured out something super useful - dynamically swapping shaders for variable mobile performance.
This model has a primary texture map, and vertex AO.
The first example has the shadows on, with the lit portions ignoring vertex AO but using the Matcap, while the shadowed areas use the unity environment color with vertex AO
The second set uses an advanced ambient setup - a second Matcap is used to provide complex shadowed lighting with vertex AO.
The third shader set is the absolute simplest. It has a main texture, and a single Matcap multiplied by the vertex colors. It's incredibly fast, yet still looks pretty good.
The second is the most expensive, yet by far the best looking. It's still not that expensive - I'm getting a solid 60fps with 12 ships on screen on my S6 Edge...










