You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
381 B
20 lines
381 B
4 years ago
|
Shader "Hidden/SolidBody1" {
|
||
|
SubShader{
|
||
|
Tags{ "RenderType" = "Opaque" }
|
||
|
CGPROGRAM
|
||
|
#pragma surface surf Lambert
|
||
|
|
||
|
uniform fixed4 highLightColor;
|
||
|
|
||
|
struct Input {
|
||
|
float4 color : COLOR;
|
||
|
};
|
||
|
void surf(Input IN, inout SurfaceOutput o) {
|
||
|
o.Albedo.r = highLightColor.r;
|
||
|
o.Albedo.g = highLightColor.g;
|
||
|
o.Albedo.b = highLightColor.b;
|
||
|
}
|
||
|
ENDCG
|
||
|
}
|
||
|
Fallback "Diffuse"
|
||
|
}
|