cod5-sdk/raw/techniques/cloud_nc_dtex.tech
2008-11-20 00:00:00 +00:00

25 lines
625 B
Text

{
stateMap "premulalpha";
vertexShader 2.0 "cloud_nc_dtex.hlsl"
{
cloudLightColor = material.cloudLightColor;
cloudDarkColor = material.cloudDarkColor;
cloudLiningSize = material.cloudLiningSize;
cloudLiningColor = material.cloudLiningColor;
}
pixelShader 2.0 "cloud_nc.hlsl"
{
colorMapSampler = material.colorMap;
detailMapSampler = material.detailMap;
cloudLiningColor = material.cloudLiningColor;
}
vertex.position = code.position;
vertex.texcoord[0] = code.texcoord[0];
vertex.normal = code.normal;
vertex.texcoord[1] = code.tangent;
vertex.color[0] = code.color;
}