cod5-sdk/raw/techniques/lp_sun_r0c0n0s0_dtex_sm3_clrdtl_specdtl.tech

30 lines
728 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_clrdtl_specdtl.hlsl"
{
}
pixelShader 3.0 "lp_sun_r0c0n0s0_sm3_clrdtl_specdtl.hlsl"
{
colorMapSampler = material.colorMap;
normalMapSampler = material.normalMap;
specularMapSampler = material.specularMap;
envMapParms = material.envMapParms;
colorDetailScale = material.colorDetailScale;
colorDetailMapSampler = material.colorDetailMap;
specDetailScale = material.specDetailScale;
specDetailMapSampler = material.specularDetailMap;
}
vertex.position = code.position;
vertex.normal = code.normal;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
vertex.texcoord[2] = code.tangent;
}