28 lines
673 B
Text
28 lines
673 B
Text
{
|
|
|
|
stateMap "premulalpha";
|
|
|
|
vertexShader 3.0 "lp_hsm_omni_s_tc0_dtex_sm3_sls.hlsl"
|
|
{
|
|
}
|
|
|
|
pixelShader 3.0 "lp_hsm_omni_b0c0s0_sm3_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];
|
|
|
|
}
|