cod4-sdk/raw/techniques/zfeather_outdoor_add_spot_fog.tech

22 lines
463 B
Text
Raw Permalink Normal View History

2008-01-19 00:00:00 +00:00
{
stateMap "zfeather_add";
vertexShader 2.0 "zfeather_outdoor_spot.hlsl"
{
featherParms = material.featherParms;
}
pixelShader 2.0 "zfeather_outdoor_add_spot.hlsl"
{
fogColor = float4( 0, 0, 0, 0 );
colorMapSampler = material.colorMap;
featherParms = material.featherParms;
outdoorMapSampler = sampler.outdoor;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}