ToonLitOutline.shader 435 B

1234567891011121314151617
  1. Shader "Toon/Lit Outline" {
  2. Properties {
  3. _Color ("Main Color", Color) = (0.5,0.5,0.5,1)
  4. _OutlineColor ("Outline Color", Color) = (0,0,0,1)
  5. _Outline ("Outline width", Range (.002, 0.03)) = .005
  6. _MainTex ("Base (RGB)", 2D) = "white" {}
  7. _Ramp ("Toon Ramp (RGB)", 2D) = "gray" {}
  8. }
  9. SubShader {
  10. Tags { "RenderType"="Opaque" }
  11. UsePass "Toon/Lit/FORWARD"
  12. UsePass "Toon/Basic Outline/OUTLINE"
  13. }
  14. Fallback "Toon/Lit"
  15. }