标签:无
单色shaderShader "ChrisShader/OneColorShader"
{
Properties
{
_Color ("color", Color) = (0,0,0,0)
}
SubShader
{
Pass
{
Color[_Color]
}
}
}
纹理shader
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
}
SubShader {
Pass
{
SetTexture[_MainTex]{combine texture}
}
}
FallBack "Diffuse"
}
【小松教你手游开发】【游戏渲染】单色shader,纹理shader
标签:无
原文地址:http://blog.51cto.com/13638120/2084823