Skip to content

Instantly share code, notes, and snippets.

@omgwtfgames
Created November 13, 2015 01:03
Show Gist options
  • Save omgwtfgames/8705f2eb2a44dc6fde66 to your computer and use it in GitHub Desktop.
Save omgwtfgames/8705f2eb2a44dc6fde66 to your computer and use it in GitHub Desktop.
UnlitColoredDoubleSided.shader
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