24 lines
506 B
Text
24 lines
506 B
Text
|
{
|
||
|
stateMap "additive_stencil";
|
||
|
|
||
|
vertexShader 2.0 "sunpre_s_tc0n0_nc.hlsl"
|
||
|
{
|
||
|
}
|
||
|
|
||
|
pixelShader 2.0 "sunpre_t0c0d0n0s0_nc.hlsl"
|
||
|
{
|
||
|
colorMapSampler = material.colorMap;
|
||
|
detailMapSampler = material.detailMap;
|
||
|
detailScale = material.detailScale;
|
||
|
normalMapSampler = material.normalMap;
|
||
|
specularMapSampler = material.specularMap;
|
||
|
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
vertex.texcoord[0] = code.texcoord[0];
|
||
|
vertex.texcoord[1] = code.tangent;
|
||
|
vertex.normal = code.normal;
|
||
|
|
||
|
}
|