Shader "Simple colored lighting"
{
Properties
{
_Color ("Main Color",Color) =(1,.5,.5,1)
}
SubShader
{
Pass
{
Material
{
Diffuse[_Color]
}
Lighting On
SetTexture[_MainTex]
{
constantColor[_Color]
combine texture * primary DOUBLE ,texture * constant
}
}
}
}
{
Properties
{
_Color ("Main Color",Color) =(1,.5,.5,1)
}
SubShader
{
Pass
{
Material
{
Diffuse[_Color]
}
Lighting On
SetTexture[_MainTex]
{
constantColor[_Color]
combine texture * primary DOUBLE ,texture * constant
}
}
}
}