cod5-sdk/raw/techniques/lm_sm_sun_b0c0d0_sm3_sls.tech

28 lines
656 B
Text
Raw Permalink Normal View History

2008-11-20 00:00:00 +00:00
{
stateMap "premulalpha";
vertexShader 3.0 "lm_sm_sun_tc0_sm3_sls.hlsl"
{
}
pixelShader 3.0 "lm_sm_sun_b0c0d0_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.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}