cod4-sdk/raw/techniques/effect_add_falloff_dtex.tech

22 lines
467 B
Text
Raw Normal View History

2008-01-19 00:00:00 +00:00
{
stateMap "effect_add";
vertexShader 1.1 "vertcol_simple_foa_dtex.hlsl"
{
falloffParms = material.falloffParms;
falloffBeginColor = material.falloffBeginColor;
falloffEndColor = material.falloffEndColor;
}
pixelShader 2.0 "vertcol_simple_add.hlsl"
{
colorMapSampler = material.colorMap;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
vertex.normal = code.normal;
}