ShaderLab Reference
Reference Manual > ShaderLab Reference

ShaderLab Reference

Shaders in Unity are written in a language called ShaderLab, which is similar to Microsoft's .FX files or NVIDIA's CgFX. If you want to write your own shaders, including custom vertex & fragment programs, this section and ShaderLab introduction will explain you how.

To get you started from some examples, we ship the ShaderLab source code for all built-in shaders. You can get them at Resources section.

Read on for ShaderLab reference, and check out ShaderLab introduction!