TerrainFourLayerToon

A mesh terrain shader, based on the TerrainFourLayer2Pass shader, but with support for a toon ramp for shading. This shader originated as the winner of a small contest held on the Unity forums; the original thread of which can be found here. The winning coder was Pvloon.

Great for games trying to achieve a stylized or cartoony art style that would prefer to not use Unity's built-in terrains, in favor of a mesh terrain or similar.

Comes in four variants:
 * Compact - Uses two passes for compatibility with older cards. Use this if you're unsure about your target platform's specs.
 * Compact Optional - Same as above, but it also contains two new(ish) features: a fallback texture for really old cards, and a light cutoff setting.
 * Modern - A version of the shader that runs approximately 50% faster, but uses acceleration functions found only on somewhat more modern cards. Experiment with your target platform to ensure it works before using this.
 * Modern Optional - Same as above, but contains the extra options found in the Compact Optional variant.

As previously stated, use the Compact version if you're not sure what's compatible with your target specs.