Как включить цвет вершин в шейдере?
Пишу так
Shader "XGUI/XGUIShader" {
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
}
SubShader {
Tags { "Queue" = "Transparent" }
LOD 200
Cull Off
ZWrite Off
ZTest NotEqual
Blend SrcAlpha OneMinusSrcAlpha
BindChannels {
Bind "Vertex", vertex
Bind "texcoord", texcoord
Bind "Color", color
}
Pass {
Lighting Off
SetTexture [_MainTex] { combine texture }
}
}
}
Вроде это должен делать Bind "Color", color но не делает.