20 lines
382 B
Text
20 lines
382 B
Text
{
|
|
stateMap "default";
|
|
|
|
vertexShader 2.0 "lm_hsm_sun_tc0d0_nc_sm2.hlsl"
|
|
{
|
|
detailScale = material.detailScale;
|
|
}
|
|
|
|
pixelShader 2.0 "lm_hsm_sun_r0c0d0_nc_sm2.hlsl"
|
|
{
|
|
colorMapSampler = material.colorMap;
|
|
detailMapSampler = material.detailMap;
|
|
|
|
}
|
|
|
|
vertex.position = code.position;
|
|
vertex.normal = code.normal;
|
|
vertex.texcoord[0] = code.texcoord[0];
|
|
|
|
}
|