21 lines
408 B
Text
21 lines
408 B
Text
{
|
|
stateMap "premulalpha";
|
|
|
|
vertexShader 2.0 "lm_sm_sun_tc0n0_sm2.hlsl"
|
|
{
|
|
}
|
|
|
|
pixelShader 2.0 "lm_sm_sun_b0c0n0_sm2.hlsl"
|
|
{
|
|
colorMapSampler = material.colorMap;
|
|
normalMapSampler = material.normalMap;
|
|
|
|
}
|
|
|
|
vertex.position = code.position;
|
|
vertex.normal = code.normal;
|
|
vertex.color[0] = code.color;
|
|
vertex.texcoord[0] = code.texcoord[0];
|
|
vertex.texcoord[2] = code.tangent;
|
|
|
|
}
|