mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-22 17:45:16 +00:00
17 lines
435 B
Text
17 lines
435 B
Text
Shader "Toon/Lit Outline" {
|
|
Properties {
|
|
_Color ("Main Color", Color) = (0.5,0.5,0.5,1)
|
|
_OutlineColor ("Outline Color", Color) = (0,0,0,1)
|
|
_Outline ("Outline width", Range (.002, 0.03)) = .005
|
|
_MainTex ("Base (RGB)", 2D) = "white" {}
|
|
_Ramp ("Toon Ramp (RGB)", 2D) = "gray" {}
|
|
}
|
|
|
|
SubShader {
|
|
Tags { "RenderType"="Opaque" }
|
|
UsePass "Toon/Lit/FORWARD"
|
|
UsePass "Toon/Basic Outline/OUTLINE"
|
|
}
|
|
|
|
Fallback "Toon/Lit"
|
|
}
|