cod5-sdk/raw/techniques/lp_sun_r0c0n0s0_dtex_sm3_sls.tech

31 lines
742 B
Text
Raw Normal View History

2008-11-20 00:00:00 +00:00
{
stateMap "default";
vertexShader 3.0 "lp_sun_s_tc0n0_dtex_sm3_sls.hlsl"
{
}
pixelShader 3.0 "lp_sun_r0c0n0s0_sm3_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;
}