29 lines
715 B
Text
29 lines
715 B
Text
{
|
|
stateMap "premulalpha";
|
|
|
|
vertexShader 3.0 "lm_sm_omni_s_tc0_sm3_sco_sls.hlsl"
|
|
{
|
|
}
|
|
|
|
pixelShader 3.0 "lm_sm_spot_b0c0s0_sm3_sco_sls.hlsl"
|
|
{
|
|
colorMapSampler = material.colorMap;
|
|
specularMapSampler = material.specularMap;
|
|
envMapParms = material.envMapParms;
|
|
|
|
subLayerMultiplySampler = material.subLayerMultiplyTexture;
|
|
subLayerBaseSampler = material.subLayerBaseTexture;
|
|
|
|
uvSubLayerMultiplyScroll = material.subLayerMultiplyScroll;
|
|
uvSubLayerBaseScroll = material.subLayerBaseScroll;
|
|
|
|
}
|
|
|
|
vertex.position = code.position;
|
|
vertex.normal = code.normal;
|
|
vertex.color[0] = code.color;
|
|
vertex.texcoord[0] = code.texcoord[0];
|
|
|
|
vertex.blendweight = code.blendweight;
|
|
|
|
}
|