Skip to content

Instantly share code, notes, and snippets.

@smkplus
Last active January 22, 2019 19:09
Show Gist options
  • Save smkplus/e95f9cecfa27d51c9278b22123718fd5 to your computer and use it in GitHub Desktop.
Save smkplus/e95f9cecfa27d51c9278b22123718fd5 to your computer and use it in GitHub Desktop.
Unlit Surface Shader

#pragma surface surf NoLighting


 fixed4 LightingNoLighting(SurfaceOutput s, fixed3 lightDir, fixed atten)
     {
         fixed4 c;
         c.rgb = s.Albedo; 
         c.a = s.Alpha;
         return c;
     }
     
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment