cod4-sdk/raw/techniques/zfeather_add_dfalloff_fog_dtex.tech
2008-01-19 00:00:00 +00:00

23 lines
545 B
Text

{
stateMap "zfeather_add";
vertexShader 2.0 "zfeather_dfa_dtex.hlsl"
{
featherParms = material.featherParms;
falloffParms = material.falloffParms;
falloffBeginColor = material.falloffBeginColor;
falloffEndColor = material.falloffEndColor;
}
pixelShader 2.0 "zfeather_add.hlsl"
{
fogColor = float4( 0, 0, 0, 0 );
colorMapSampler = material.colorMap;
featherParms = material.featherParms;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}