Cg Programming/Surface Shaders< Cg Programming
||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 Surface Shader scripting with several video tutorials is available at Unity Cookie.