cod5-sdk/raw/techniques/vertcol_simple_falloff.tech

23 lines
456 B
Text
Raw Normal View History

2008-11-20 00:00:00 +00:00
{
stateMap "default";
vertexShader 1.1 "vertcol_simple_fo.hlsl"
{
falloffParms = material.falloffParms;
falloffBeginColor = material.falloffBeginColor;
falloffEndColor = material.falloffEndColor;
}
pixelShader 2.0 "vertcol_simple.hlsl"
{
colorMapSampler = material.colorMap;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
vertex.normal = code.normal;
}