There is this, which is, I think, exactly what you were looking for...
Shader "gamevial/randomshader" {
Properties {
_Splat0("Texture1 (R)", 2D) = "white" {}
}
CGINCLUDE
///reusable stuff here
ENDCG
Subshader{
↧