Game Development Reference
In-Depth Information
If you create the shader inside the MonoDevelop, the default
setup of the shader script will be different from the preceding
screenshot and similar to the following screenshot.
5. Next, go to the first line in MyShader.shader and modify the exising code
as follows:
Shader "My Shader/Toon Rim Light" {
In this line, we change the posiion and name our shader, which will appear in
the drop down Shader when we select the Shader properies in the object's
Inspector view.
 
Search WWH ::




Custom Search