21 lines
436 B
Text
21 lines
436 B
Text
|
{
|
||
|
stateMap "default";
|
||
|
|
||
|
vertexShader 1.1 "vertcol_simple_fog_df_dtex.hlsl"
|
||
|
{
|
||
|
falloffParms = material.falloffParms;
|
||
|
falloffBeginColor = material.falloffBeginColor;
|
||
|
falloffEndColor = material.falloffEndColor;
|
||
|
}
|
||
|
|
||
|
pixelShader 2.0 "vertcol_simple_fog.hlsl"
|
||
|
{
|
||
|
colorMapSampler = material.colorMap;
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
vertex.color[0] = code.color;
|
||
|
vertex.texcoord[0] = code.texcoord[0];
|
||
|
|
||
|
}
|