22 lines
404 B
Text
22 lines
404 B
Text
|
{
|
||
|
stateMap "additive_stencil";
|
||
|
|
||
|
vertexShader 2.0 "sunpre_tc0n0_dtex.hlsl"
|
||
|
{
|
||
|
}
|
||
|
|
||
|
pixelShader 2.0 "sunpre_r0c0n0.hlsl"
|
||
|
{
|
||
|
colorMapSampler = material.colorMap;
|
||
|
normalMapSampler = material.normalMap;
|
||
|
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
vertex.color[0] = code.color;
|
||
|
vertex.texcoord[0] = code.texcoord[0];
|
||
|
vertex.texcoord[1] = code.tangent;
|
||
|
vertex.normal = code.normal;
|
||
|
|
||
|
}
|