Skip to content

Instantly share code, notes, and snippets.

Shader "Custom/SvenssonToonLighting"
{
Properties
{
[Header(Diffuse)]
_MainTex ("Main Texture", 2D) = "white" {}
_Color ("Albedo", color) = (1., 1., 1., 1.)
_ToonRamp("Toon ramp", 2D) = "white" {}
_ShadowColor ("Shadow color", color) = (1., 1., 1., 1.)