cod5-sdk/raw/techniques/lm_sm_omni_b0c0n0s0_sm3_sco_sls.tech

32 lines
798 B
Text
Raw Permalink Normal View History

2008-11-20 00:00:00 +00:00
{
stateMap "premulalpha";
vertexShader 3.0 "lm_sm_omni_s_tc0n0_sm3_sco_sls.hlsl"
{
}
pixelShader 3.0 "lm_sm_omni_b0c0n0s0_sm3_sco_sls.hlsl"
{
colorMapSampler = material.colorMap;
normalMapSampler = material.normalMap;
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.texcoord[2] = code.tangent;
vertex.blendweight = code.blendweight;
}