28 lines
619 B
Text
28 lines
619 B
Text
|
{
|
||
|
|
||
|
stateMap "default";
|
||
|
|
||
|
vertexShader 3.0 "lp_tc0_nc_dtex_sm3_sls.hlsl"
|
||
|
{
|
||
|
}
|
||
|
|
||
|
pixelShader 3.0 "lp_r0c0d0_nc_sm3_sls.hlsl"
|
||
|
{
|
||
|
colorMapSampler = material.colorMap;
|
||
|
detailMapSampler = material.detailMap;
|
||
|
detailScale = material.detailScale;
|
||
|
|
||
|
subLayerMultiplySampler = material.subLayerMultiplyTexture;
|
||
|
subLayerBaseSampler = material.subLayerBaseTexture;
|
||
|
|
||
|
uvSubLayerMultiplyScroll = material.subLayerMultiplyScroll;
|
||
|
uvSubLayerBaseScroll = material.subLayerBaseScroll;
|
||
|
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
vertex.normal = code.normal;
|
||
|
vertex.texcoord[0] = code.texcoord[0];
|
||
|
|
||
|
}
|