19 lines
332 B
Text
19 lines
332 B
Text
|
{
|
||
|
stateMap "effect_add";
|
||
|
|
||
|
vertexShader 1.1 "vertcol_simple_fog.hlsl"
|
||
|
{
|
||
|
}
|
||
|
|
||
|
pixelShader 2.0 "vertcol_simple_add_fog.hlsl"
|
||
|
{
|
||
|
fogColor = float4( 0, 0, 0, 0 );
|
||
|
colorMapSampler = material.colorMap;
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
vertex.color[0] = code.color;
|
||
|
vertex.texcoord[0] = code.texcoord[0];
|
||
|
|
||
|
}
|