ShaderLab Reference Examples


I create a uv unwrapped .blend file of the standard ‘Suzanne’ monkey in Blender, import it into Unity and write a ShaderLab shader for each of the examples given in the Unity manual.

I Export to WebGL and observe any irregularities and peculiarities that arise.

Navigate using arrow keys and Z,X to zoom (click on the frame to focus)

1. Surface Shaders

2. Surface Shader Lighting

3. Vertex And Fragment Shader