Fixed Pipeline: Vertex Color Shader with Lighting

I am having a hard time adding lighting to a vertex color shader (e.g. directional lights). It should run on an iPhone 3G, so it has to be fixed pipeline (no Cg/GLSL).

That is my vertex color shader. Yes, it is very basic:

Shader "Vertex Color Shader" {

SubShader {
        BindChannels {
            Bind "Color", color
            Bind "Vertex", vertex
        }

        Pass {
            SetTexture [_MainTex] {
                Combine primary
            }  
        }      
}
}

Any help is much appreciated.

Christian

Thanks! Here’s the result. Seems to work fine.

Shader "Vertex Color Specular" {
Properties{
 	_Specular ("Specular Color", Color) = (1, 0, 0)
 	_Shininess ("Shininess", Range(0, 1)) = 0.5
}

SubShader {
        Pass {
            Lighting On
            ColorMaterial AmbientAndDiffuse
            
            Material{
            	Ambient [_Color]
            	Diffuse [_Color]
            	Specular [_Specular]
            	Shininess [_Shininess]
            }
        }      
}
}