Last active
January 27, 2020 17:14
-
-
Save supertask/b7a28b34d49311844f4a4d5e2f3f469f to your computer and use it in GitHub Desktop.
A part of Culling_Off.shader on Project North Star
This file contains 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
void surf (Input IN, inout SurfaceOutput o) { | |
fixed4 tex = tex2D(_MainTex, IN.uv_MainTex); | |
o.Albedo = 0.0; | |
o.Gloss = 0.0; | |
o.Alpha = 1.0; | |
o.Specular = 0.0; | |
o.Normal = UnpackNormal(tex2D(_BumpMap, IN.uv_BumpMap)); | |
o.Emission = tex.rgb; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment