Cg Programming/Surface Shaders
Jump to navigation Jump to search
||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.