Created
November 13, 2015 01:03
-
-
Save omgwtfgames/8705f2eb2a44dc6fde66 to your computer and use it in GitHub Desktop.
UnlitColoredDoubleSided.shader
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
Shader "Unlit Colored Double Sided" { | |
Properties { | |
_Color ("Main Color", Color) = (1,1,1,1) | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
} | |
Category { | |
Lighting Off | |
ZWrite On | |
Cull Off | |
SubShader { | |
Pass { | |
SetTexture [_MainTex] { | |
constantColor [_Color] | |
Combine texture * constant, texture * constant | |
} | |
} | |
} | |
} | |
Fallback "Diffuse" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment