Created
July 21, 2020 04:07
-
-
Save cjacobwade/13d5b6ea231f2c871a9d93bdc94ac65e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Big Hops/Character" | |
{ | |
Properties | |
{ | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Opaque" "Queue"="Geometry" } | |
LOD 200 | |
CGPROGRAM | |
#pragma surface surf ToonyColorsPoint | |
#pragma target 3.0 | |
struct SurfaceOutputCustom | |
{ | |
fixed3 WorldPos; | |
fixed3 Albedo; | |
fixed3 Normal; | |
fixed Alpha; | |
float3 Emission; | |
}; | |
struct Input | |
{ | |
float4 vertex : SV_POSITION; | |
}; | |
inline half4 LightingToonyColorsPoint(SurfaceOutputCustom s, half3 lightDir, half atten) | |
{ | |
return 0; | |
} | |
void surf (Input IN, inout SurfaceOutputCustom o) | |
{ | |
o.Albedo = fixed3(1, 1, 1); | |
o.Emission = 0; | |
} | |
ENDCG | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment