Skip to content

Instantly share code, notes, and snippets.

@cjacobwade
Created July 21, 2020 04:07
Show Gist options
  • Save cjacobwade/13d5b6ea231f2c871a9d93bdc94ac65e to your computer and use it in GitHub Desktop.
Save cjacobwade/13d5b6ea231f2c871a9d93bdc94ac65e to your computer and use it in GitHub Desktop.
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