Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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