Monthly Archives: December 2014

Adding Shadows to a Unity Vertex/Fragment Shader in 7 Easy Steps

This was a question asked on the Unity Forums recently, so I thought I’d just write up the answer here. Unity provides its own unique brand of “surface shaders”, which make dealing with lighting and shadows relatively simple. But there … Continue reading

Posted in Game Dev | Tagged , , , | 3 Comments

Using the Stencil Buffer in Unity Free

News concerning the recent release of Unity 4.6 was largely dominated by its new UI system. However, closer inspection of the 4.6 release notes reveals some other interesting changes and improvements, including the announcement that “Stencil buffer is now available … Continue reading

Posted in Game Dev | Tagged , , | 2 Comments