||This section is a stub.
You can help Wikibooks by expanding it.
Unity's Surface Shaders provide a simplified way of programming Cg shaders by automatically adding shader code for lighting and shadow computations such that programmers only need to specify material constants.
An introduction to Cg and Surface Shaders is provided by the Noobs Guide to Shaders in Unity Gems.
Another introduction to Surface Shader scripting with several video tutorials is available at Unity Cookie.