Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created September 9, 2015 19:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tsubaki/d5663276ee4071cea5ae to your computer and use it in GitHub Desktop.
Save tsubaki/d5663276ee4071cea5ae to your computer and use it in GitHub Desktop.
surface shader2パス
Shader "surface_two_pass" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
}
SubShader {
// 1パス目
Tags {"Queue"="Transparent"}
CGPROGRAM
ENDCG
// 2パス目
Tags {"Queue"="Transparent" }
CGPROGRAM
ENDCG
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment