Game Development Reference
In-Depth Information
The major part of the code is in the Cg/HLSL language, so you might not be familiar with
it. However, you can still get an idea of how it works by trying to see more examples and
taking a look at the Cg/HLSL language at https://developer.nvidia.com/content/cg-
tutorial-appendix-e-cg-standard-library-functions .
We can also see an example of the custom lighting model from http://docs.unity3d.com/
Documentation/Components/SL-SurfaceShaderExamples.html .
Search WWH ::




Custom Search