cod4-sdk/raw/techniques/zfeather_add_eyeofs_dfalloff_dtex.tech

24 lines
563 B
Text
Raw Normal View History

2008-01-19 00:00:00 +00:00
{
stateMap "zfeather_add";
vertexShader 2.0 "zfeather_dfa_nf_eo_dtex.hlsl"
{
featherParms = material.featherParms;
falloffParms = material.falloffParms;
falloffBeginColor = material.falloffBeginColor;
falloffEndColor = material.falloffEndColor;
eyeOffsetParms = material.eyeOffsetParms;
}
pixelShader 2.0 "zfeather_add_nf.hlsl"
{
colorMapSampler = material.colorMap;
featherParms = material.featherParms;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}